swagger.yaml 274 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.QueryNoticeRsp:
  22. properties:
  23. auditoruserid:
  24. description: 审核人
  25. type: integer
  26. auditremark:
  27. description: 审核备注
  28. type: string
  29. audittime:
  30. description: 审核日期
  31. type: string
  32. autoid:
  33. description: 自增ID
  34. type: integer
  35. content:
  36. description: 内容
  37. type: string
  38. createtime:
  39. description: 创建时间
  40. type: string
  41. creatorid:
  42. description: 建仓人
  43. type: integer
  44. endtime:
  45. description: 结束时间
  46. type: string
  47. istop:
  48. description: 是否置顶 - 0:不置顶 1:置顶
  49. type: integer
  50. msgiconurl:
  51. description: 消息图标Url
  52. type: string
  53. msgtype:
  54. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  55. type: integer
  56. publisher:
  57. description: 消息发布者
  58. type: string
  59. readed:
  60. description: 是否已读
  61. type: boolean
  62. scheduletime:
  63. description: 计划发送时间
  64. type: string
  65. sendtype:
  66. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  67. type: integer
  68. sentstatus:
  69. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  70. type: integer
  71. title:
  72. description: 标题
  73. type: string
  74. userid:
  75. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  76. type: integer
  77. required:
  78. - autoid
  79. type: object
  80. common.QueryProvincesAndCitiesRsp:
  81. properties:
  82. cities:
  83. description: 市
  84. items:
  85. $ref: '#/definitions/models.Division'
  86. type: array
  87. province:
  88. $ref: '#/definitions/models.Division'
  89. description: 省
  90. type: object
  91. type: object
  92. common.QueryTableDefineRsp:
  93. properties:
  94. columns:
  95. description: 列头信息数组
  96. items:
  97. $ref: '#/definitions/models.Tablecolumnconfig'
  98. type: array
  99. remark:
  100. description: Remark
  101. type: string
  102. tabelmenu:
  103. description: 列表菜单
  104. type: string
  105. tablekey:
  106. description: 列表Key
  107. type: string
  108. tablename:
  109. description: 列表名称
  110. type: string
  111. tabletype:
  112. description: 列表类型 - 1:管理端 2:终端
  113. type: integer
  114. required:
  115. - tablekey
  116. type: object
  117. common.QueryTraderMenuRsp:
  118. properties:
  119. OperationMenu:
  120. description: 功能菜单
  121. items:
  122. $ref: '#/definitions/models.OperationPrimaryMenu'
  123. type: array
  124. QuoteMenu:
  125. description: 报价牌分类菜单
  126. items:
  127. $ref: '#/definitions/models.QuotePrimaryMenu'
  128. type: array
  129. type: object
  130. cptrade.Cptradepositioncancel:
  131. properties:
  132. accountid:
  133. description: 申请人账户ID
  134. type: integer
  135. applystatus:
  136. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  137. type: integer
  138. applytime:
  139. description: 申请时间
  140. type: string
  141. cancelid:
  142. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  143. type: integer
  144. cancelqty:
  145. description: 注销数量
  146. type: integer
  147. createtime:
  148. description: 创建时间
  149. type: string
  150. creatorid:
  151. description: 创建人ID
  152. type: integer
  153. creatorname:
  154. description: 创建人
  155. type: string
  156. goodscode:
  157. description: 订单商品代码
  158. type: string
  159. goodsid:
  160. description: 商品ID
  161. type: integer
  162. goodsname:
  163. description: 订单商品名称
  164. type: string
  165. goodunit:
  166. description: 报价单位
  167. type: string
  168. handlestatus:
  169. description: 处理状态
  170. type: integer
  171. marketid:
  172. description: 市场ID
  173. type: integer
  174. marketname:
  175. description: 市场名称
  176. type: string
  177. tradedate:
  178. description: 交易日(yyyyMMdd)
  179. type: string
  180. userid:
  181. description: 申请人ID
  182. type: integer
  183. required:
  184. - cancelid
  185. type: object
  186. cptrade.Cptradepresaleapply:
  187. properties:
  188. accountid:
  189. description: 申请人账户ID
  190. type: integer
  191. applyid:
  192. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  193. type: integer
  194. applyremark:
  195. description: 申请备注
  196. type: string
  197. applystatus:
  198. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  199. type: integer
  200. applytime:
  201. description: 申请时间
  202. type: string
  203. attachmenturl:
  204. description: 附件地址
  205. type: string
  206. endtime:
  207. description: 预售结束时间
  208. type: string
  209. goodscode:
  210. description: 商品代码
  211. type: string
  212. goodsid:
  213. description: 商品ID
  214. type: integer
  215. goodsname:
  216. description: 商品名称
  217. type: string
  218. goodunit:
  219. description: 报价单位
  220. type: string
  221. handlestatus:
  222. description: 处理状态
  223. type: integer
  224. marketid:
  225. description: 预售市场ID
  226. type: integer
  227. marketname:
  228. description: 预售市场名称
  229. type: string
  230. presaleqty:
  231. description: 预售数量
  232. type: integer
  233. relatedgoodscode:
  234. description: 关联交易合约代码
  235. type: string
  236. relatedgoodsid:
  237. description: 关联交易合约ID
  238. type: integer
  239. relatedgoodsname:
  240. description: 关联交易合约名称
  241. type: string
  242. starttime:
  243. description: 预售开始时间
  244. type: string
  245. tradedate:
  246. description: 交易日(yyyyMMdd)
  247. type: string
  248. trademode:
  249. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  250. type: integer
  251. userid:
  252. description: 申请人ID
  253. type: integer
  254. required:
  255. - applyid
  256. type: object
  257. cptrade.Cptradeusergoodsdata:
  258. properties:
  259. EnabledQty:
  260. description: 可用量
  261. type: integer
  262. GoodsCode:
  263. description: 订单商品代码
  264. type: string
  265. GoodsName:
  266. description: 订单商品名称
  267. type: string
  268. WRStandardCode:
  269. description: 仓单标准代码
  270. type: string
  271. WRStandardName:
  272. description: 仓单标准名称
  273. type: string
  274. accountid:
  275. description: 账户ID
  276. type: integer
  277. cancelqty:
  278. description: 注销量
  279. type: integer
  280. curpresaleqty:
  281. description: 当前预售量
  282. type: integer
  283. deliveryqty:
  284. description: 交割量
  285. type: integer
  286. freezeamount:
  287. description: 冻结金额
  288. type: number
  289. goodsid:
  290. description: 商品ID
  291. type: integer
  292. goodunit:
  293. description: 报价单位
  294. type: string
  295. hasspotfreeze:
  296. description: 是否有现货冻结 - 0:否 1:有
  297. type: integer
  298. inqty:
  299. description: 转入量(总数量)
  300. type: integer
  301. marketid:
  302. description: 市场ID
  303. type: integer
  304. presaledamount:
  305. description: 已预售总金额
  306. type: integer
  307. presaledqty:
  308. description: 已预售量
  309. type: integer
  310. userid:
  311. description: 用户ID
  312. type: integer
  313. wrstandardid:
  314. description: 仓单标准ID
  315. type: integer
  316. required:
  317. - accountid
  318. - goodsid
  319. type: object
  320. cptrade.QueryCPTradeMyBidRsp:
  321. properties:
  322. accountid:
  323. description: 账户ID[报价币种]
  324. type: integer
  325. goodsid:
  326. description: 商品ID
  327. type: integer
  328. goodunit:
  329. description: 报价单位
  330. type: string
  331. marketid:
  332. description: 市场ID
  333. type: integer
  334. orderid:
  335. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  336. type: integer
  337. orderprice:
  338. description: 委托价格
  339. type: number
  340. orderqty:
  341. description: 委托数量
  342. type: integer
  343. ordertime:
  344. description: 委托时间
  345. type: string
  346. ordertotalprice:
  347. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  348. type: number
  349. ordertotalweight:
  350. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  351. type: integer
  352. totaltotalprice:
  353. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  354. type: number
  355. tradeprice:
  356. description: 成交价格
  357. type: number
  358. tradeqty:
  359. description: 成交数量
  360. type: integer
  361. required:
  362. - accountid
  363. - goodsid
  364. - marketid
  365. - orderid
  366. - orderqty
  367. - ordertime
  368. - tradeprice
  369. - tradeqty
  370. type: object
  371. cptrade.QueryCPTradeOrderDetailRsq:
  372. properties:
  373. accountid:
  374. description: 账户ID[报价币种]
  375. type: integer
  376. buildtype:
  377. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  378. type: integer
  379. buyorsell:
  380. description: 买卖 - 0:买 1:卖
  381. type: integer
  382. cancelorderid:
  383. description: 撤单单号(撤单时填写)
  384. type: integer
  385. cancelqty:
  386. description: 撤单数量
  387. type: integer
  388. clientordertime:
  389. description: 客户端委托时间
  390. type: string
  391. clientticket:
  392. description: 客户端流水号
  393. type: string
  394. clienttype:
  395. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  396. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  397. type: integer
  398. closeexchagechargevalue:
  399. description: 平仓交易所手续费设置值
  400. type: number
  401. closefeealgorithm:
  402. description: 平仓手续费收取方式 1:比率 2:固定
  403. type: integer
  404. closefreezecharge:
  405. description: 平仓冻结手续费(先建后平操作,需要记录)
  406. type: number
  407. closememberchargevalue:
  408. description: 平仓会员手续费设置值
  409. type: number
  410. closeqty:
  411. description: 平仓数量(先建后平操作 需要记录)
  412. type: integer
  413. closetradeqty:
  414. description: 平仓成交数量(先建后平操作,需要记录)
  415. type: integer
  416. closeunfreezecharge:
  417. description: 平仓解冻手续费(先建后平操作,需要记录)
  418. type: number
  419. delistingtype:
  420. description: 摘牌类型 - 1:价格最优 2:点选成交
  421. type: integer
  422. freezecharge:
  423. description: 冻结手续费
  424. type: number
  425. freezemargin:
  426. description: 冻结保证金(冻结交易金额)
  427. type: number
  428. gcaccountid:
  429. description: 账户ID[合约币种]
  430. type: integer
  431. goodsid:
  432. description: 商品ID
  433. type: integer
  434. isconfirmexercise:
  435. description: 是否确认行权- 0:否 1:是
  436. type: integer
  437. ispreexercise:
  438. description: 是否预申报- 0:否 1:是
  439. type: integer
  440. listingselecttype:
  441. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  442. type: integer
  443. marginalgorithm:
  444. description: 保证金收取方式 1:比率 2:固定
  445. type: integer
  446. marginvalue:
  447. description: 即市保证金设置值
  448. type: number
  449. marketid:
  450. description: 市场ID
  451. type: integer
  452. marketmaxsub:
  453. description: 市价最大偏移范围
  454. type: number
  455. memberuserid:
  456. description: 所属会员UserID
  457. type: integer
  458. openexchagechargevalue:
  459. description: 建仓交易所手续费设置值
  460. type: number
  461. openfeealgorithm:
  462. description: 建仓手续费收取方式 1:比率 2:固定
  463. type: integer
  464. openfreezecharge:
  465. description: 开仓冻结手续费(先建后平操作,需要记录)
  466. type: number
  467. openmemberchargevalue:
  468. description: 建仓会员手续费设置值
  469. type: number
  470. openqty:
  471. description: 开仓数量(先建后平操作,需要记录)
  472. type: integer
  473. opentradeqty:
  474. description: 开仓成交数量(先建后平操作,需要记录)
  475. type: integer
  476. openunfreezecharge:
  477. description: 开仓解冻手续费(先建后平操作,需要记录)
  478. type: number
  479. operatetype:
  480. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  481. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  482. 15:管理端协议转让
  483. type: integer
  484. operatorid:
  485. description: 登录账号(LoginID)
  486. type: integer
  487. optiontype:
  488. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  489. type: integer
  490. orderprice:
  491. description: 委托价格
  492. type: number
  493. orderqty:
  494. description: 委托数量
  495. type: integer
  496. ordersrc:
  497. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  498. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  499. type: integer
  500. orderstatus:
  501. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  502. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  503. 16:成交失败违约(荷兰式竞拍专用)
  504. type: integer
  505. ordertime:
  506. description: 委托时间
  507. type: string
  508. preexerciseprice:
  509. description: 预申报价格
  510. type: number
  511. premium:
  512. description: 权利金
  513. type: number
  514. preorderid:
  515. description: 关联预埋单号(止盈止损单时填写)
  516. type: integer
  517. pricemode:
  518. description: '取价方式 - 1:市价 2: 限价'
  519. type: integer
  520. quoteid:
  521. description: 报价单ID
  522. type: integer
  523. relatedid:
  524. description: 关联单号(交割单)
  525. type: integer
  526. retcode:
  527. description: 错误代码
  528. type: integer
  529. sessionid:
  530. description: 会话ID
  531. type: integer
  532. strorderid:
  533. description: 委托单号
  534. type: string
  535. tradedate:
  536. description: 交易日(yyyyMMdd)
  537. type: string
  538. tradeproperty:
  539. description: 交易属性
  540. type: integer
  541. tradeqty:
  542. description: 成交数量
  543. type: integer
  544. unfreezecharge:
  545. description: 解冻手续费
  546. type: number
  547. unfreezemargin:
  548. description: 解冻保证金
  549. type: number
  550. updatetime:
  551. description: 更新时间
  552. type: string
  553. uuid:
  554. description: 发起端唯一id
  555. type: string
  556. validtime:
  557. description: 有效期限
  558. type: string
  559. validtype:
  560. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  561. type: integer
  562. volumetype:
  563. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  564. type: integer
  565. required:
  566. - accountid
  567. - buildtype
  568. - buyorsell
  569. - goodsid
  570. - marketid
  571. - memberuserid
  572. - operatetype
  573. - orderqty
  574. - ordertime
  575. - pricemode
  576. - strorderid
  577. - tradedate
  578. - validtype
  579. type: object
  580. cptrade.QueryMyCPTradeGoodsRsp:
  581. properties:
  582. accountid:
  583. description: 卖方账户ID
  584. type: integer
  585. agreeunit:
  586. description: 合约单位
  587. type: number
  588. applyid:
  589. description: 关联申请ID
  590. type: integer
  591. attachmenturl:
  592. description: 附件地址
  593. type: string
  594. createtime:
  595. description: 创建时间
  596. type: string
  597. currencyid:
  598. description: 报价货币ID
  599. type: integer
  600. decimalplace:
  601. description: 报价小数位
  602. type: integer
  603. endtime:
  604. description: 预售结束时间
  605. type: string
  606. floorprice:
  607. description: 底价[大宗式竞拍]
  608. type: number
  609. goodscode:
  610. description: 商品代码(预售)
  611. type: string
  612. goodsdetail:
  613. description: 详情[大宗]
  614. type: string
  615. goodsid:
  616. description: 商品ID(自增ID SEQ_GOODS)
  617. type: integer
  618. goodsname:
  619. description: 商品名称(预售)
  620. type: string
  621. goodunit:
  622. description: 报价单位
  623. type: string
  624. goodunitid:
  625. description: 报价单位ID
  626. type: integer
  627. marketid:
  628. description: 所属市场ID
  629. type: integer
  630. marketname:
  631. description: 预售市场名称
  632. type: string
  633. presaledamount:
  634. description: 已预售总金额(预售结束时更新)
  635. type: number
  636. presaledqty:
  637. description: 已预售量(预售结束时更新)
  638. type: integer
  639. presalemode:
  640. description: 预售模式 - 1:一口价 2:大宗式竞拍
  641. type: integer
  642. presaleqty:
  643. description: 预售数量
  644. type: integer
  645. refprice:
  646. description: 参考价格[一口价]
  647. type: number
  648. relatedgoodscode:
  649. description: 商品代码(订单)
  650. type: string
  651. relatedgoodsid:
  652. description: 关联交易合约ID
  653. type: integer
  654. relatedgoodsname:
  655. description: 商品名称(订单)
  656. type: string
  657. relatedmarketid:
  658. description: 关联交易合约市场ID
  659. type: integer
  660. sellstatus:
  661. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  662. type: integer
  663. startprice:
  664. description: 起拍价[大宗式竞拍]
  665. type: number
  666. starttime:
  667. description: 预售开始时间
  668. type: string
  669. tradedate:
  670. description: 交易日(yyyyMMdd)
  671. type: string
  672. tradeprice:
  673. description: 成交价[大宗]
  674. type: number
  675. userid:
  676. description: 卖方用户ID
  677. type: integer
  678. required:
  679. - goodscode
  680. - goodsid
  681. - goodsname
  682. - marketid
  683. - relatedgoodscode
  684. - relatedgoodsname
  685. type: object
  686. cptrade.QueryPresaleGoodsExRsp:
  687. properties:
  688. attachmenturl:
  689. description: 附件地址
  690. type: string
  691. createtime:
  692. description: 创建时间
  693. type: string
  694. endtime:
  695. description: 预售结束时间
  696. type: string
  697. floorprice:
  698. description: 底价[大宗式竞拍]
  699. type: number
  700. goodsdetail:
  701. description: 详情[大宗]
  702. type: string
  703. goodsid:
  704. description: 商品ID(预售)
  705. type: integer
  706. goodunit:
  707. description: 报价单位
  708. type: string
  709. marketid:
  710. description: 预售市场ID - 根据预售模式选择市场
  711. type: integer
  712. presaledamount:
  713. description: 已预售总金额(预售结束时更新)
  714. type: number
  715. presaledqty:
  716. description: 已预售量(预售结束时更新)
  717. type: integer
  718. presalemode:
  719. description: 预售模式 - 1:一口价 2:大宗式竞拍
  720. type: integer
  721. presaleqty:
  722. description: 预售数量
  723. type: integer
  724. refprice:
  725. description: 参考价格[一口价]
  726. type: number
  727. relatedgoodsid:
  728. description: 关联交易合约ID
  729. type: integer
  730. relatedmarketid:
  731. description: 关联交易合约市场ID
  732. type: integer
  733. sellstatus:
  734. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  735. type: integer
  736. startprice:
  737. description: 起拍价[大宗式竞拍]
  738. type: number
  739. starttime:
  740. description: 预售开始时间
  741. type: string
  742. tradedate:
  743. description: 交易日(yyyyMMdd)
  744. type: string
  745. tradeprice:
  746. description: 成交价[大宗]
  747. type: number
  748. required:
  749. - goodsid
  750. type: object
  751. delivery.QueryDeliveryRelationRsp:
  752. properties:
  753. begindate:
  754. description: 起始日期(yyyyMMdd)
  755. type: string
  756. buytemplateid:
  757. description: 买履约计划模板ID
  758. type: integer
  759. deliverygoodscode:
  760. description: 品种代码
  761. type: string
  762. deliverygoodsid:
  763. description: 交割商品
  764. type: integer
  765. deliverygoodsname:
  766. description: 品种名称
  767. type: string
  768. deliverymode:
  769. description: 交割方式 - 1:点选式 2:申报式
  770. type: integer
  771. deliverypricerule:
  772. description: 交割价规则- 1:行情价 2:建仓价
  773. type: integer
  774. deliverytype:
  775. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  776. type: integer
  777. enddate:
  778. description: 结束日期(yyyyMMdd)
  779. type: string
  780. goodscode:
  781. description: 商品代码
  782. type: string
  783. goodsid:
  784. description: 交易合约ID
  785. type: integer
  786. goodsname:
  787. description: 商品名称
  788. type: string
  789. marketid:
  790. description: 市场ID
  791. type: integer
  792. mindeliveryqty:
  793. description: 最小交割系数(K)
  794. type: integer
  795. p2deliveryprice:
  796. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  797. type: number
  798. p2deliveryratio:
  799. description: P2合约系数(p)
  800. type: integer
  801. p2goodsid:
  802. description: P2合约ID
  803. type: integer
  804. p2pricemode:
  805. description: P2合约价格方式 - 1:商品价 2:固定值
  806. type: integer
  807. pdeliveryprice:
  808. description: P合约价格(商品价时填写0,固定值时填写固定值)
  809. type: number
  810. pdeliveryratio:
  811. description: P合约系数(n)
  812. type: integer
  813. pgoodsid:
  814. description: P合约ID
  815. type: integer
  816. ppricemode:
  817. description: P合约价格方式 - 1:商品价 2:固定值
  818. type: integer
  819. rratio:
  820. description: 兑换系数(R)
  821. type: integer
  822. rratio1:
  823. description: 兑换系数(交易合约)(R1)
  824. type: integer
  825. rratio2:
  826. description: 兑换系数(仓单标准)(R2)
  827. type: integer
  828. selltemplateid:
  829. description: 卖履约计划模板ID
  830. type: integer
  831. wrstandardid:
  832. description: 仓单标准ID
  833. type: integer
  834. xdeliveryratio:
  835. description: 交易合约系数(m)
  836. type: integer
  837. required:
  838. - begindate
  839. - enddate
  840. - goodsid
  841. - mindeliveryqty
  842. - xdeliveryratio
  843. type: object
  844. ermcp.ExposureDetailRsp:
  845. $ref: '#/definitions/models.ErmcpExposureDetailModel'
  846. ermcp.ExposureSpotDetailRsp:
  847. $ref: '#/definitions/models.ErmcpAreaSpotDetailModel'
  848. ermcp.ExposureSpotRsp:
  849. $ref: '#/definitions/models.AreaSpotModel'
  850. ermcp.HisExposureRsp:
  851. $ref: '#/definitions/models.ErmcpHisExposure'
  852. ermcp.QryBusinessDjRsp:
  853. properties:
  854. amount:
  855. description: 点价金额=(点价价格+升贴水)*点价数量
  856. type: number
  857. applyid:
  858. description: 申请人
  859. type: string
  860. applyname:
  861. description: 申请人名称
  862. type: string
  863. applystatus:
  864. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  865. type: integer
  866. applytime:
  867. description: 申请时间
  868. type: string
  869. auditname:
  870. description: 审核人名称
  871. type: string
  872. audittime:
  873. description: 审核时间
  874. type: string
  875. buyusername:
  876. description: 采购方名称
  877. type: string
  878. contractno:
  879. description: 合同编号
  880. type: string
  881. contractstatus:
  882. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  883. type: integer
  884. contracttype:
  885. description: 现货合同类型 - 1:采购 -1:销售
  886. type: integer
  887. enumdicname:
  888. description: 单位名称
  889. type: string
  890. goodscode:
  891. description: 点价合约
  892. type: string
  893. goodsname:
  894. description: 商品名称
  895. type: string
  896. operateapplyid:
  897. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  898. type: string
  899. operateapplytype:
  900. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  901. type: integer
  902. pricedPrice:
  903. description: 点价价格(非必填)
  904. type: number
  905. pricedQty:
  906. description: 点价数量(非必填)
  907. type: number
  908. pricemove:
  909. description: 升贴水
  910. type: number
  911. pricetype:
  912. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  913. type: integer
  914. relatedid:
  915. description: 现货合同ID
  916. type: string
  917. sellusername:
  918. description: 销售方名字
  919. type: string
  920. userid:
  921. description: 用户ID
  922. type: integer
  923. type: object
  924. ermcp.QryBussinessFpRsp:
  925. properties:
  926. applyid:
  927. description: 申请人
  928. type: string
  929. applyname:
  930. description: 申请人名称
  931. type: string
  932. applystatus:
  933. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  934. type: integer
  935. applytime:
  936. description: 申请时间
  937. type: string
  938. auditname:
  939. description: 审核人名称
  940. type: string
  941. audittime:
  942. description: 审核时间
  943. type: string
  944. buyusername:
  945. description: 采购方名称
  946. type: string
  947. contractno:
  948. description: 合同编号
  949. type: string
  950. contractstatus:
  951. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  952. type: integer
  953. contracttype:
  954. description: 现货合同类型 - 1:采购 -1:销售
  955. type: integer
  956. enumdicname:
  957. description: 单位名称
  958. type: string
  959. goodscode:
  960. description: 点价合约
  961. type: string
  962. goodsname:
  963. description: 商品名称
  964. type: string
  965. invoiceAmount:
  966. description: 已开收票金额(销售为开票,采购为收票)
  967. type: number
  968. operateapplyid:
  969. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  970. type: string
  971. operateapplytype:
  972. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  973. type: integer
  974. pricemove:
  975. description: 升贴水
  976. type: number
  977. pricetype:
  978. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  979. type: integer
  980. relatedid:
  981. description: 现货合同ID
  982. type: string
  983. sellusername:
  984. description: 销售方名字
  985. type: string
  986. userid:
  987. description: 用户ID
  988. type: integer
  989. type: object
  990. ermcp.QryBussinessJsRsp:
  991. properties:
  992. addmargin:
  993. description: 追加保证金(非必填)
  994. type: number
  995. applyid:
  996. description: 申请人
  997. type: string
  998. applyname:
  999. description: 申请人名称
  1000. type: string
  1001. applystatus:
  1002. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1003. type: integer
  1004. applytime:
  1005. description: 申请时间
  1006. type: string
  1007. auditname:
  1008. description: 审核人名称
  1009. type: string
  1010. audittime:
  1011. description: 审核时间
  1012. type: string
  1013. buyusername:
  1014. description: 采购方名称
  1015. type: string
  1016. contractno:
  1017. description: 合同编号
  1018. type: string
  1019. contractstatus:
  1020. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1021. type: integer
  1022. contracttype:
  1023. description: 现货合同类型 - 1:采购 -1:销售
  1024. type: integer
  1025. decmargin:
  1026. description: 减少保证金(非必填)
  1027. type: number
  1028. enumdicname:
  1029. description: 单位名称
  1030. type: string
  1031. goodscode:
  1032. description: 点价合约
  1033. type: string
  1034. goodsname:
  1035. description: 商品名称
  1036. type: string
  1037. operateapplyid:
  1038. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1039. type: string
  1040. operateapplytype:
  1041. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1042. type: integer
  1043. pricemove:
  1044. description: 升贴水
  1045. type: number
  1046. pricetype:
  1047. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1048. type: integer
  1049. reckonadjustamount:
  1050. description: 结算调整金额(非必填)
  1051. type: number
  1052. reckonosamount:
  1053. description: 结算溢短金额(非必填)
  1054. type: number
  1055. reckonotheramount:
  1056. description: 结算其他费用(非必填)
  1057. type: number
  1058. reckonrealqty:
  1059. description: 结算实际数量(非必填)
  1060. type: number
  1061. relatedid:
  1062. description: 现货合同ID
  1063. type: string
  1064. sellusername:
  1065. description: 销售方名字
  1066. type: string
  1067. userid:
  1068. description: 用户ID
  1069. type: integer
  1070. type: object
  1071. ermcp.QryBussinessKxRsp:
  1072. properties:
  1073. applyid:
  1074. description: 申请人
  1075. type: string
  1076. applyname:
  1077. description: 申请人名称
  1078. type: string
  1079. applystatus:
  1080. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1081. type: integer
  1082. applytime:
  1083. description: 申请时间
  1084. type: string
  1085. auditname:
  1086. description: 审核人名称
  1087. type: string
  1088. audittime:
  1089. description: 审核时间
  1090. type: string
  1091. buyusername:
  1092. description: 采购方名称
  1093. type: string
  1094. contractno:
  1095. description: 合同编号
  1096. type: string
  1097. contractstatus:
  1098. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1099. type: integer
  1100. contracttype:
  1101. description: 现货合同类型 - 1:采购 -1:销售
  1102. type: integer
  1103. deductamount:
  1104. description: 退款(非必填)
  1105. type: number
  1106. enumdicname:
  1107. description: 单位名称
  1108. type: string
  1109. goodscode:
  1110. description: 点价合约
  1111. type: string
  1112. goodsname:
  1113. description: 商品名称
  1114. type: string
  1115. kxtype:
  1116. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1117. type: integer
  1118. operateapplyid:
  1119. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1120. type: string
  1121. operateapplytype:
  1122. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1123. type: integer
  1124. payamount:
  1125. description: 收付款(非必填)
  1126. type: number
  1127. pricemove:
  1128. description: 升贴水
  1129. type: number
  1130. pricetype:
  1131. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1132. type: integer
  1133. relatedid:
  1134. description: 现货合同ID
  1135. type: string
  1136. sellusername:
  1137. description: 销售方名字
  1138. type: string
  1139. userid:
  1140. description: 用户ID
  1141. type: integer
  1142. type: object
  1143. ermcp.QryErmcpRsp:
  1144. $ref: '#/definitions/models.ErmcpModel'
  1145. ermcp.QryHedgePlanRsp:
  1146. $ref: '#/definitions/models.ErmcpHedgePlan'
  1147. ermcp.QryMiddleGoodsRsp:
  1148. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1149. ermcp.QryOPLogRsp:
  1150. $ref: '#/definitions/models.ErmcpOPLogModel'
  1151. ermcp.QrySpotContractRsp:
  1152. $ref: '#/definitions/models.ErmcpSpotContractModel'
  1153. ermcp.QryUserInfoRsp:
  1154. $ref: '#/definitions/models.ErmcpUserModel'
  1155. ermcp.QryWrStandardDetailRsp:
  1156. $ref: '#/definitions/models.ErmcpWrstandDetail'
  1157. ermcp.QryWrStandardRsp:
  1158. $ref: '#/definitions/models.ErmcpWrstandard'
  1159. ermcp.RealtimeExposureRsp:
  1160. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1161. erms2.QueryArbitrageStrategyRsp:
  1162. properties:
  1163. applybasis:
  1164. description: 申请基差
  1165. type: number
  1166. asapplyid:
  1167. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1168. type: string
  1169. asname:
  1170. description: 策略名称
  1171. type: string
  1172. asno:
  1173. description: 策略编号
  1174. type: string
  1175. basischangepl:
  1176. description: 基差变动损益[结算更新]
  1177. type: number
  1178. biztype:
  1179. description: 业务类型 - 1:正向套利 -1:反向套利
  1180. type: integer
  1181. closetradedate:
  1182. description: 完结交易日(yyyyMMdd)
  1183. type: string
  1184. curbasis:
  1185. description: 当前基差[结算更新]
  1186. type: number
  1187. deliverygoodsid:
  1188. description: 现货品种ID
  1189. type: integer
  1190. futureavgprice:
  1191. description: 期货建仓均价
  1192. type: number
  1193. futurecloseamount:
  1194. description: 期货平仓金额
  1195. type: number
  1196. futurecloseqty:
  1197. description: 期货平仓数量
  1198. type: number
  1199. futureopenamount:
  1200. description: 期货开仓金额
  1201. type: number
  1202. futureopenqty:
  1203. description: 期货开仓数量
  1204. type: number
  1205. futurepl:
  1206. description: 期货总盈亏[结算更新]
  1207. type: number
  1208. futureqty:
  1209. description: 期货持仓数量
  1210. type: number
  1211. futurequote:
  1212. description: 期货额度
  1213. type: number
  1214. goodsgroupid:
  1215. description: 期货品种ID
  1216. type: integer
  1217. marketid:
  1218. description: 市场ID
  1219. type: integer
  1220. netexposure:
  1221. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1222. type: number
  1223. netexposurepl:
  1224. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1225. type: number
  1226. netexposurerate:
  1227. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1228. type: number
  1229. openbasis:
  1230. description: 建仓基差
  1231. type: number
  1232. pricedspotqty:
  1233. description: 已定价现货数量
  1234. type: number
  1235. pricedspotqtynotax:
  1236. description: 已定价现货不含税数量
  1237. type: number
  1238. remark:
  1239. description: 备注
  1240. type: string
  1241. spotavgprice:
  1242. description: 现货均价
  1243. type: number
  1244. spotbuyamount:
  1245. description: 现货采购金额
  1246. type: number
  1247. spotbuyqty:
  1248. description: 现货采购数量
  1249. type: number
  1250. spotpl:
  1251. description: 现货总盈亏[结算更新]
  1252. type: number
  1253. spotquota:
  1254. description: 现货额度
  1255. type: number
  1256. spotsellamount:
  1257. description: 现货销售金额
  1258. type: number
  1259. spotsellqty:
  1260. description: 现货销售数量
  1261. type: number
  1262. spotusedquota:
  1263. description: 现货占用资金
  1264. type: number
  1265. strategystatus:
  1266. description: 策略状态 - 0:未结束 1:已结束
  1267. type: integer
  1268. totalpl:
  1269. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1270. type: number
  1271. tradedate:
  1272. description: 交易日(yyyyMMdd)
  1273. type: string
  1274. updatetime:
  1275. description: 更新时间
  1276. type: string
  1277. usedquota:
  1278. description: 已占用资金
  1279. type: number
  1280. userid:
  1281. description: 所属机构
  1282. type: integer
  1283. required:
  1284. - asapplyid
  1285. type: object
  1286. erms2.QueryInnerTradeDetailRsp:
  1287. properties:
  1288. accountid:
  1289. description: 账号ID
  1290. type: integer
  1291. agreeunit:
  1292. description: 合约单位
  1293. type: number
  1294. asapplyid:
  1295. description: 策略申请ID
  1296. type: integer
  1297. asname:
  1298. description: 策略名称
  1299. type: string
  1300. asno:
  1301. description: 策略编号
  1302. type: string
  1303. buyorsell:
  1304. description: 方向 - 0:买 1:卖
  1305. type: integer
  1306. channelbuildtype:
  1307. description: 委托单据类型 0:无 1:建仓 2:平仓
  1308. type: integer
  1309. closetype:
  1310. description: 平仓方式 - 0:无 1:平今 2:平昨
  1311. type: integer
  1312. decimalplace:
  1313. description: 报价小数位
  1314. type: integer
  1315. detailtype:
  1316. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1317. type: integer
  1318. exexchangecode:
  1319. description: 外部交易所代码
  1320. type: string
  1321. exexchangename:
  1322. description: 外部交易所名称
  1323. type: string
  1324. goodscode:
  1325. description: 商品代码(合约)
  1326. type: string
  1327. goodsgroupid:
  1328. description: 商品组ID(品种ID)
  1329. type: integer
  1330. goodsgroupname:
  1331. description: 商品组名称(品种)
  1332. type: string
  1333. goodsid:
  1334. description: 商品ID
  1335. type: integer
  1336. goodsname:
  1337. description: 商品名称(合约)
  1338. type: string
  1339. goodunit:
  1340. description: 报价单位
  1341. type: string
  1342. marketid:
  1343. description: 市场ID
  1344. type: integer
  1345. orderid:
  1346. description: 委托单号
  1347. type: string
  1348. outgoodscode:
  1349. description: 商品代码(外部)
  1350. type: string
  1351. relatedouttradeid:
  1352. description: 关联外部成交单ID
  1353. type: string
  1354. remark:
  1355. description: 备注
  1356. type: string
  1357. spotcontractid:
  1358. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1359. type: integer
  1360. spotcontractno:
  1361. description: 现货合同编号
  1362. type: string
  1363. tradeid:
  1364. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1365. type: string
  1366. tradeprice:
  1367. description: 成交价格
  1368. type: number
  1369. tradeqty:
  1370. description: 成交数量
  1371. type: integer
  1372. tradetime:
  1373. description: 成交时间
  1374. type: string
  1375. updatetime:
  1376. description: 更新时间
  1377. type: string
  1378. required:
  1379. - asapplyid
  1380. - buyorsell
  1381. - goodscode
  1382. - goodsgroupid
  1383. - goodsgroupname
  1384. - goodsname
  1385. - tradeid
  1386. type: object
  1387. erms2.QuerySpotContractRsp:
  1388. properties:
  1389. accountid:
  1390. description: 资金账户ID
  1391. type: integer
  1392. areauserid:
  1393. description: 所属机构
  1394. type: integer
  1395. closedate:
  1396. description: 终止日期
  1397. type: string
  1398. closeremark:
  1399. description: 结束备注
  1400. type: string
  1401. closetradedate:
  1402. description: 完结交易日(yyyyMMdd)
  1403. type: string
  1404. closetype:
  1405. description: 终止类型 - 1:违约 2:提前终止
  1406. type: integer
  1407. contractamount:
  1408. description: 合同金额
  1409. type: number
  1410. contractattachment:
  1411. description: 合同附件
  1412. type: string
  1413. contractno:
  1414. description: 现货合同编号
  1415. type: string
  1416. contractqty:
  1417. description: 合同数量(数值) (用于计算)
  1418. type: number
  1419. contractqtychar:
  1420. description: 合同数量\已订价数量 (用于显示)
  1421. type: string
  1422. contractstatus:
  1423. description: 合同状态 - 0:未结束 1:已结束
  1424. type: integer
  1425. contracttype:
  1426. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1427. type: integer
  1428. customeraccountid:
  1429. description: 客户资金账户ID
  1430. type: integer
  1431. customeruserid:
  1432. description: 客户ID
  1433. type: integer
  1434. deliverygoodsdesc:
  1435. description: 品种说明
  1436. type: string
  1437. deliverygoodsid:
  1438. description: 现货品种ID
  1439. type: integer
  1440. handlestatus:
  1441. description: 处理状态
  1442. type: integer
  1443. invoiceatt:
  1444. description: 发票附件
  1445. type: string
  1446. invoicedatetime:
  1447. description: 开收票更新时间
  1448. type: string
  1449. invoiceopentime:
  1450. description: 开票时间
  1451. type: string
  1452. invoiceremark:
  1453. description: 发票备注
  1454. type: string
  1455. invoicestatus:
  1456. description: 开收票状态 - 0:未开票 1:已开票
  1457. type: integer
  1458. lastdate:
  1459. description: 交货时间
  1460. type: string
  1461. marketid:
  1462. description: 市场ID
  1463. type: integer
  1464. paydatetime:
  1465. description: 收付款更新时间
  1466. type: string
  1467. payremark:
  1468. description: 收付款备注
  1469. type: string
  1470. paystatus:
  1471. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1472. type: integer
  1473. positionqty:
  1474. description: 头寸数量 - 合同数量去小数部分
  1475. type: integer
  1476. producttype:
  1477. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1478. type: integer
  1479. relatedqty:
  1480. description: 已关联数量
  1481. type: number
  1482. relatedstatus:
  1483. description: 关联完结状态 - 0:未结束 1:已结束
  1484. type: integer
  1485. remark:
  1486. description: 备注
  1487. type: string
  1488. signdate:
  1489. description: 签订日期
  1490. type: string
  1491. spotcontractid:
  1492. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1493. type: string
  1494. spotdatetime:
  1495. description: 收发货更新时间
  1496. type: string
  1497. spotprice:
  1498. description: 价格
  1499. type: number
  1500. spotremark:
  1501. description: 收发货备注
  1502. type: string
  1503. spotstatus:
  1504. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1505. type: integer
  1506. tradedate:
  1507. description: 交易日(yyyyMMdd)
  1508. type: string
  1509. userid:
  1510. description: 业务员用户ID
  1511. type: integer
  1512. warehouseid:
  1513. description: 仓库ID
  1514. type: integer
  1515. wrfactortypeid:
  1516. description: 仓单要素类型ID
  1517. type: integer
  1518. wrstandardid:
  1519. description: 仓单标准ID(SEQ_WRSTANDARD)
  1520. type: integer
  1521. required:
  1522. - spotcontractid
  1523. type: object
  1524. erms3.AddErms2ASApplyReq:
  1525. properties:
  1526. applybasis:
  1527. description: 申请基差
  1528. type: number
  1529. applystatus:
  1530. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1531. type: integer
  1532. asapplyid:
  1533. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1534. type: integer
  1535. asname:
  1536. description: 策略名称
  1537. type: string
  1538. asno:
  1539. description: 策略编号
  1540. type: string
  1541. auditid:
  1542. description: 审核人
  1543. type: integer
  1544. auditremark:
  1545. description: 审核备注
  1546. type: string
  1547. audittime:
  1548. description: 审核时间
  1549. type: string
  1550. biztype:
  1551. description: 业务类型 - 1:正向套利 2:反向套利
  1552. type: integer
  1553. createtime:
  1554. description: 创建时间
  1555. type: string
  1556. creatorid:
  1557. description: 创建人
  1558. type: integer
  1559. deliverygoodsid:
  1560. description: 现货品种ID
  1561. type: integer
  1562. futurequote:
  1563. description: 期货额度
  1564. type: number
  1565. goodsgroupid:
  1566. description: 期货品种ID
  1567. type: integer
  1568. marketid:
  1569. description: 市场ID
  1570. type: integer
  1571. remark:
  1572. description: 备注
  1573. type: string
  1574. spotquota:
  1575. description: 现货额度
  1576. type: number
  1577. tradedate:
  1578. description: 交易日(yyyyMMdd)
  1579. type: string
  1580. userid:
  1581. description: 所属机构
  1582. type: integer
  1583. required:
  1584. - asapplyid
  1585. type: object
  1586. erms3.AddErms2SpotTradeApplyReq:
  1587. properties:
  1588. applyjsondetail:
  1589. description: 申请明细(JSON)
  1590. type: string
  1591. applystatus:
  1592. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1593. type: integer
  1594. areauserid:
  1595. description: 所属机构
  1596. type: integer
  1597. auditid:
  1598. description: 审核人
  1599. type: integer
  1600. auditremark:
  1601. description: 审核备注
  1602. type: string
  1603. audittime:
  1604. description: 审核时间
  1605. type: string
  1606. createtime:
  1607. description: 创建时间
  1608. type: string
  1609. creatorid:
  1610. description: 创建人
  1611. type: integer
  1612. deliverygoodsid:
  1613. description: 现货品种ID
  1614. type: integer
  1615. futureaccountid:
  1616. description: 期货资金账户
  1617. type: integer
  1618. goodsgroupid:
  1619. description: 期货品种
  1620. type: integer
  1621. marketid:
  1622. description: 市场ID
  1623. type: integer
  1624. remark:
  1625. description: 备注
  1626. type: string
  1627. spotaccountid:
  1628. description: 现货资金账户
  1629. type: integer
  1630. spottradeid:
  1631. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  1632. type: integer
  1633. spottradename:
  1634. description: 业务名称
  1635. type: string
  1636. spottradeno:
  1637. description: 业务编号
  1638. type: string
  1639. tradedate:
  1640. description: 交易日(yyyyMMdd)
  1641. type: string
  1642. wrstandardid:
  1643. description: 仓单标准ID
  1644. type: integer
  1645. required:
  1646. - spottradeid
  1647. type: object
  1648. erms3.AddSpotContractApplyReq:
  1649. properties:
  1650. accountid:
  1651. description: 资金账户ID
  1652. type: integer
  1653. areauserid:
  1654. description: 所属机构
  1655. type: integer
  1656. contractattachment:
  1657. description: 合同附件
  1658. type: string
  1659. contractno:
  1660. description: 现货合同编号
  1661. type: string
  1662. contracttype:
  1663. description: 现货合同类型 - 1:采购 -1:销售
  1664. type: integer
  1665. creatorid:
  1666. description: 申请人
  1667. type: integer
  1668. customeraccountid:
  1669. description: 客户资金账户ID
  1670. type: integer
  1671. customeruserid:
  1672. description: 客户ID
  1673. type: integer
  1674. details:
  1675. description: 明细
  1676. items:
  1677. $ref: '#/definitions/erms3.SoptContractDetail'
  1678. type: array
  1679. orimargin:
  1680. description: 初始保证金
  1681. type: number
  1682. remark:
  1683. description: 备注
  1684. type: string
  1685. signdate:
  1686. description: 签订日期
  1687. type: string
  1688. required:
  1689. - accountid
  1690. - areauserid
  1691. - contractno
  1692. - contracttype
  1693. - customeraccountid
  1694. - customeruserid
  1695. - details
  1696. - orimargin
  1697. - signdate
  1698. type: object
  1699. erms3.AddSpotContractApplyRsp:
  1700. properties:
  1701. contractno:
  1702. description: 现货合同编号
  1703. type: string
  1704. spotcontractid:
  1705. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  1706. type: integer
  1707. required:
  1708. - contractno
  1709. type: object
  1710. erms3.AddUserInfoApplyReq:
  1711. properties:
  1712. accountid:
  1713. description: 交易系统帐号Id (加密存储)
  1714. type: integer
  1715. areacode:
  1716. description: 机构代码
  1717. type: string
  1718. areaid:
  1719. description: 机构Id
  1720. type: integer
  1721. attachment1:
  1722. description: 附件1
  1723. type: string
  1724. attachment2:
  1725. description: 附件2
  1726. type: string
  1727. attachment3:
  1728. description: 附件3
  1729. type: string
  1730. attachment4:
  1731. description: 附件4
  1732. type: string
  1733. attachment5:
  1734. description: 附件5
  1735. type: string
  1736. auditedby:
  1737. description: 审核人
  1738. type: string
  1739. auditime:
  1740. description: 审核时间
  1741. type: string
  1742. bankaccount:
  1743. description: 银行帐号 (加密存储)
  1744. type: string
  1745. bankaccountname:
  1746. description: 收款人名称
  1747. type: string
  1748. bankcardbackphotourl:
  1749. description: 银行卡背面照地址
  1750. type: string
  1751. bankcardfrontphotourl:
  1752. description: 银行卡正面照地址
  1753. type: string
  1754. bankid:
  1755. description: 银行编码
  1756. type: string
  1757. bankname:
  1758. description: 银行名称
  1759. type: string
  1760. bankpictureurl:
  1761. description: 银行卡正面地址
  1762. type: string
  1763. biznature:
  1764. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  1765. type: integer
  1766. bizscope:
  1767. description: 企业经营范围(企业)
  1768. type: string
  1769. biztype:
  1770. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  1771. type: integer
  1772. brokerid:
  1773. description: 经纪人ID(加密存储)
  1774. type: string
  1775. cardaddress:
  1776. description: 证件地址 (加密存储)
  1777. type: string
  1778. cardbackphotourl:
  1779. description: 背面证件照地址
  1780. type: string
  1781. cardfrontphotourl:
  1782. description: 正面证件照地址
  1783. type: string
  1784. cardnum:
  1785. description: 证件号码 (加密存储)
  1786. type: string
  1787. cardtype:
  1788. description: 证件类型
  1789. type: integer
  1790. cityid:
  1791. description: 市
  1792. type: integer
  1793. company:
  1794. description: 公司(个人)
  1795. type: string
  1796. contactcardbackphotourl:
  1797. description: 联系人证件背面图片地址
  1798. type: string
  1799. contactcardfrontphotourl:
  1800. description: 联系人证件正面图片地址
  1801. type: string
  1802. contactname:
  1803. description: 联系人
  1804. type: string
  1805. countryid:
  1806. description: 国家
  1807. type: integer
  1808. createtime:
  1809. description: 开户申请时间
  1810. type: string
  1811. cusbankid:
  1812. description: 签约类型
  1813. type: string
  1814. cusbankname:
  1815. description: 签约类型名称
  1816. type: string
  1817. customername:
  1818. description: 客户名称(企业名称)
  1819. type: string
  1820. districtid:
  1821. description: 地区
  1822. type: integer
  1823. email:
  1824. description: Email地址(加密存储)
  1825. type: string
  1826. halfbodyphotourl:
  1827. description: 半身照地址
  1828. type: string
  1829. headurl:
  1830. description: 头像地址
  1831. type: string
  1832. ipaddress:
  1833. description: IP地址
  1834. type: string
  1835. isvalidate:
  1836. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  1837. type: string
  1838. legalcardbackphotourl:
  1839. description: 法人身份证背面照地址
  1840. type: string
  1841. legalcardfrontphotourl:
  1842. description: 法人身份证正面照地址
  1843. type: string
  1844. legalpersonname:
  1845. description: 法人姓名(企业)
  1846. type: string
  1847. logincode:
  1848. description: 登录帐号 (加密存储)
  1849. type: string
  1850. memberareaid:
  1851. description: 所属会员ID
  1852. type: integer
  1853. mobile2:
  1854. description: 手机号码[明文-尚志]
  1855. type: string
  1856. mobilephone:
  1857. description: 手机号码 (加密存储)
  1858. type: string
  1859. modifiedby:
  1860. description: 修改人帐号
  1861. type: integer
  1862. modifiedtime:
  1863. description: 修改时间
  1864. type: string
  1865. nickname:
  1866. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  1867. type: string
  1868. openmode:
  1869. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  1870. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  1871. type: integer
  1872. otherurl:
  1873. description: 其它图片地址[使用分号分隔]
  1874. type: string
  1875. postalcode:
  1876. description: 邮政编码
  1877. type: string
  1878. provinceid:
  1879. description: 省
  1880. type: integer
  1881. proxystatementurl:
  1882. description: 授权委托书
  1883. type: string
  1884. qq:
  1885. description: QQ(加密存储
  1886. type: string
  1887. referral:
  1888. description: 推荐人编码
  1889. type: string
  1890. remark:
  1891. description: 备注
  1892. type: string
  1893. removebeforestatus:
  1894. description: REMOVEBEFORESTATUS
  1895. type: integer
  1896. sex:
  1897. description: 性别 - 0:女 1:男
  1898. type: integer
  1899. signedstatus:
  1900. description: 账户一号签签约状态
  1901. type: integer
  1902. signpdfurl:
  1903. description: 签约pdf文件
  1904. type: string
  1905. subbranch:
  1906. description: 开户支行
  1907. type: string
  1908. telphone:
  1909. description: 联系电话(加密存储)
  1910. type: string
  1911. userid:
  1912. description: 用户ID(自增ID)
  1913. type: integer
  1914. userinfotype:
  1915. description: 用户信息类型 - 1:个人 2:企业
  1916. type: integer
  1917. username:
  1918. description: 用户姓名
  1919. type: string
  1920. userstate:
  1921. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  1922. type: integer
  1923. usertype:
  1924. description: 用户类型 - 1:投资者 2:机构
  1925. type: integer
  1926. videourl:
  1927. description: 视频地址
  1928. type: string
  1929. wechat:
  1930. description: 微信号 (加密存储)
  1931. type: string
  1932. required:
  1933. - userid
  1934. type: object
  1935. erms3.CustomerInfo:
  1936. properties:
  1937. accountids:
  1938. description: 资金账户ID列表
  1939. items:
  1940. type: integer
  1941. type: array
  1942. customername:
  1943. description: 名称(企业名称)
  1944. type: string
  1945. mobile:
  1946. description: 手机号码
  1947. type: string
  1948. userid:
  1949. description: 用户ID
  1950. type: integer
  1951. required:
  1952. - userid
  1953. type: object
  1954. erms3.QryAuditContractRsp:
  1955. properties:
  1956. accountid:
  1957. description: 交易员ID
  1958. type: string
  1959. applystatus:
  1960. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1961. type: integer
  1962. curdeliveryqty:
  1963. description: 未交收量
  1964. type: integer
  1965. customername:
  1966. description: 采购方ID
  1967. type: string
  1968. deliverygoodsid:
  1969. description: 品种ID
  1970. type: string
  1971. deliveryqty:
  1972. description: 交收量
  1973. type: integer
  1974. enumdicname:
  1975. description: 单位名称
  1976. type: string
  1977. matchaccountid:
  1978. description: 业务员ID
  1979. type: string
  1980. matchcustomername:
  1981. description: 销售方ID
  1982. type: string
  1983. pricedqty:
  1984. description: 定价量
  1985. type: number
  1986. signdate:
  1987. description: 签订日期
  1988. type: string
  1989. spotcontractid:
  1990. description: 合同ID
  1991. type: string
  1992. totaldqty:
  1993. description: 合同量
  1994. type: number
  1995. unpricedqty:
  1996. description: 未定价量
  1997. type: number
  1998. wrstandardname:
  1999. description: 商品名称
  2000. type: string
  2001. required:
  2002. - matchcustomername
  2003. - spotcontractid
  2004. type: object
  2005. erms3.QryPendingBizRsp:
  2006. $ref: '#/definitions/models.PendingAuditBizModel'
  2007. erms3.QueryBusinessInfoRsp:
  2008. properties:
  2009. businessid:
  2010. description: 业务ID.
  2011. type: integer
  2012. buyamount:
  2013. description: 采购额.
  2014. type: number
  2015. buyqty:
  2016. description: 采购量.
  2017. type: string
  2018. futurepl:
  2019. description: 期货盈亏.
  2020. type: number
  2021. futureqty:
  2022. description: 期货敞口.
  2023. type: string
  2024. goodsid:
  2025. description: 商品名称/商品代码.
  2026. type: string
  2027. hedgingqty:
  2028. description: 套保量.
  2029. type: string
  2030. sellamount:
  2031. description: 销售额.
  2032. type: number
  2033. sellqty:
  2034. description: 销售量.
  2035. type: string
  2036. spotmarketvalue:
  2037. description: 现货市值.
  2038. type: number
  2039. spotpl:
  2040. description: 浮动权益.
  2041. type: number
  2042. spotqty:
  2043. description: 现货量.
  2044. type: string
  2045. statu:
  2046. description: 状态,0-未结束 1-已结束.
  2047. type: integer
  2048. totalpl:
  2049. description: 总盈亏.
  2050. type: number
  2051. totalqty:
  2052. description: 总敞口.
  2053. type: string
  2054. type:
  2055. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2056. type: integer
  2057. type: object
  2058. erms3.QuerySpotContractAppleFormRsp:
  2059. properties:
  2060. goodses:
  2061. description: 合约列表
  2062. items:
  2063. $ref: '#/definitions/models.GoodsIDAndName'
  2064. type: array
  2065. oppositeusers:
  2066. description: 对方账号列表
  2067. items:
  2068. $ref: '#/definitions/erms3.CustomerInfo'
  2069. type: array
  2070. ouruser:
  2071. $ref: '#/definitions/erms3.CustomerInfo'
  2072. description: 我方账号
  2073. type: object
  2074. warehouseinfos:
  2075. description: 仓库信息列表
  2076. items:
  2077. $ref: '#/definitions/models.Warehouseinfo'
  2078. type: array
  2079. wrstandards:
  2080. description: 仓单标准列表
  2081. items:
  2082. $ref: '#/definitions/models.WRStandardInfo'
  2083. type: array
  2084. type: object
  2085. erms3.QuerySpotContractInfoRsp:
  2086. properties:
  2087. accountid:
  2088. description: 表示交易员ID.
  2089. type: integer
  2090. curdeliveryqty:
  2091. description: 表示未交收量.
  2092. type: number
  2093. customername:
  2094. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2095. type: string
  2096. deliverygoodsid:
  2097. description: 表示品种ID.
  2098. type: string
  2099. deliveryqty:
  2100. description: 表示交收量.
  2101. type: number
  2102. matchaccountid:
  2103. description: 表示业务员ID.
  2104. type: integer
  2105. matchcustomername:
  2106. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2107. type: string
  2108. priceqty:
  2109. description: 表示定价量.
  2110. type: number
  2111. relatedbizid:
  2112. description: 表示业务ID.
  2113. type: string
  2114. signdate:
  2115. description: 表示签订日期.
  2116. type: string
  2117. spotcontractid:
  2118. description: 合同ID
  2119. type: string
  2120. status:
  2121. description: 表示状态,0-履约中 1-已完成.
  2122. type: integer
  2123. totalqty:
  2124. description: 表示合同量.
  2125. type: number
  2126. unpricedqty:
  2127. description: 表示未定价量.
  2128. type: number
  2129. wrstandardname:
  2130. description: 表示商品ID.
  2131. type: string
  2132. type: object
  2133. erms3.QueryUserInfoAppliesRsp:
  2134. properties:
  2135. biznature:
  2136. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2137. type: integer
  2138. contactname:
  2139. description: 联系人
  2140. type: string
  2141. createtime:
  2142. description: 开户申请时间
  2143. type: string
  2144. userid:
  2145. description: 用户ID(自增ID)
  2146. type: integer
  2147. userinfotype:
  2148. description: 用户信息类型 - 1:个人 2:企业
  2149. type: integer
  2150. username:
  2151. description: 用户姓名
  2152. type: string
  2153. userstate:
  2154. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2155. type: integer
  2156. required:
  2157. - userid
  2158. type: object
  2159. erms3.QueryUserInfosRsp:
  2160. properties:
  2161. biznature:
  2162. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2163. type: integer
  2164. contactname:
  2165. description: 联系人
  2166. type: string
  2167. customername:
  2168. description: 客户名称(企业名称)
  2169. type: string
  2170. userid:
  2171. description: 用户ID
  2172. type: integer
  2173. userinfotype:
  2174. description: 用户信息类型 - 1:个人 2:企业
  2175. type: integer
  2176. userstatus:
  2177. description: 用户状态 - 1:正常 2:注销
  2178. type: integer
  2179. required:
  2180. - userid
  2181. type: object
  2182. erms3.SoptContractDetail:
  2183. properties:
  2184. deliverygoodsdesc:
  2185. description: 现货品种说明
  2186. type: string
  2187. deliverygoodsid:
  2188. description: 现货品种ID
  2189. type: integer
  2190. deliverygoodsname:
  2191. description: 现货品种名称
  2192. type: string
  2193. pointdesc:
  2194. description: 点价描述
  2195. type: string
  2196. producttype:
  2197. description: 产品类型 1:标准仓单 2:等标 3:非标
  2198. type: integer
  2199. producttypename:
  2200. description: 产品类型名称
  2201. type: string
  2202. spotPointOrderVoList:
  2203. description: 点价列表
  2204. items:
  2205. $ref: '#/definitions/erms3.SpotPointOrder'
  2206. type: array
  2207. spotPriceOrderList:
  2208. description: 定价列表
  2209. items:
  2210. $ref: '#/definitions/erms3.SpotPriceOrder'
  2211. type: array
  2212. unitname:
  2213. description: 单位名称
  2214. type: string
  2215. warehouseid:
  2216. description: 仓库ID
  2217. type: integer
  2218. warehousename:
  2219. description: 仓库名称
  2220. type: string
  2221. wrstandardid:
  2222. description: 交易标的ID
  2223. type: integer
  2224. wrstandardname:
  2225. description: 交易标的名称
  2226. type: string
  2227. required:
  2228. - deliverygoodsid
  2229. - producttype
  2230. - unitname
  2231. - warehouseid
  2232. - wrstandardid
  2233. - wrstandardname
  2234. type: object
  2235. erms3.SpotPointOrder:
  2236. properties:
  2237. basic:
  2238. description: 基差
  2239. type: number
  2240. deliveryenddate:
  2241. description: 交收结束日期
  2242. type: string
  2243. deliverystartdate:
  2244. description: 交收开始日期
  2245. type: string
  2246. enddate:
  2247. description: 点价结束日期
  2248. type: string
  2249. goodsid:
  2250. description: 商品ID
  2251. type: integer
  2252. goodsname:
  2253. description: 商品名称
  2254. type: string
  2255. qty:
  2256. description: 数量
  2257. type: number
  2258. startdate:
  2259. description: 点价开始日期
  2260. type: string
  2261. required:
  2262. - basic
  2263. - goodsid
  2264. - qty
  2265. type: object
  2266. erms3.SpotPriceOrder:
  2267. properties:
  2268. amount:
  2269. description: 金额
  2270. type: number
  2271. deliveryenddate:
  2272. description: 交收结束日期
  2273. type: string
  2274. deliverystartdate:
  2275. description: 交收开始日期
  2276. type: string
  2277. price:
  2278. description: 价格
  2279. type: number
  2280. qty:
  2281. description: 数量
  2282. type: number
  2283. required:
  2284. - amount
  2285. - price
  2286. - qty
  2287. type: object
  2288. hsby.GetHsbyMyCountRsp:
  2289. properties:
  2290. myCouponCount:
  2291. description: 我的优惠卷数量
  2292. type: integer
  2293. myOrderDetailListingCount:
  2294. description: 我的订单求购中数量
  2295. type: integer
  2296. myOrderDetailPreCount:
  2297. description: 我的订单抢购中数量
  2298. type: integer
  2299. myPackageUnReceiveCount:
  2300. description: 我的包裹待收货数量
  2301. type: integer
  2302. myPackageUnSendCount:
  2303. description: 我的包裹待发货数量
  2304. type: integer
  2305. myPayOrderCount:
  2306. description: 我的订单待付款数量
  2307. type: integer
  2308. type: object
  2309. hsby.QueryProvincesAndCitiesRsp:
  2310. properties:
  2311. cities:
  2312. description: 市
  2313. items:
  2314. $ref: '#/definitions/models.Division'
  2315. type: array
  2316. province:
  2317. $ref: '#/definitions/models.Division'
  2318. description: 省
  2319. type: object
  2320. type: object
  2321. models.AreaSpotModel:
  2322. properties:
  2323. areauserid:
  2324. description: 所属机构
  2325. type: integer
  2326. decreaseqty:
  2327. description: 减少数量=-(销售已定价数量+采购计划数量)
  2328. type: number
  2329. increaseqty:
  2330. description: 增加数量=销售计划数量+采购已定价数量
  2331. type: number
  2332. oritoalspotqty:
  2333. description: 昨日数量
  2334. type: number
  2335. totalspotqty:
  2336. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2337. type: number
  2338. updatetime:
  2339. description: 更新时间
  2340. type: string
  2341. wrstandardcode:
  2342. description: 现货品种代码
  2343. type: string
  2344. wrstandardid:
  2345. description: 现货商品ID
  2346. type: integer
  2347. wrstandardname:
  2348. description: 现货品种
  2349. type: string
  2350. type: object
  2351. models.Clientfixedadconfig:
  2352. properties:
  2353. adsort:
  2354. description: 排序
  2355. type: integer
  2356. adtype:
  2357. description: 广告位类型 - 1:新品抢购(HSBY)
  2358. type: integer
  2359. areauserid:
  2360. description: 所属机构ID
  2361. type: integer
  2362. createdate:
  2363. description: 创建时间
  2364. type: string
  2365. creatorid:
  2366. description: 创建人
  2367. type: integer
  2368. imagepath:
  2369. description: 图片
  2370. type: string
  2371. isshow:
  2372. description: 是否展示 - 0:不展示 1:展示
  2373. type: integer
  2374. modifierid:
  2375. description: 操作人
  2376. type: integer
  2377. recsize:
  2378. description: 推荐尺寸
  2379. type: string
  2380. title:
  2381. description: 标题
  2382. type: string
  2383. updatedate:
  2384. description: 更新时间
  2385. type: string
  2386. urlcontent:
  2387. description: 链接(地址或商品ID)
  2388. type: string
  2389. urltype:
  2390. description: 链接类型 - 1:直接地址 2:商品ID
  2391. type: integer
  2392. required:
  2393. - adsort
  2394. - adtype
  2395. type: object
  2396. models.Division:
  2397. properties:
  2398. autoid:
  2399. description: 自增ID
  2400. type: integer
  2401. divisioncode:
  2402. description: 行政代码
  2403. type: string
  2404. divisionlevel:
  2405. description: 行政级别
  2406. type: string
  2407. divisionname:
  2408. description: 行政名称
  2409. type: string
  2410. modifierid:
  2411. description: 修改人
  2412. type: integer
  2413. modifytime:
  2414. description: 修改时间
  2415. type: string
  2416. parentcode:
  2417. description: 上级行政代码
  2418. type: string
  2419. pathname:
  2420. description: 路径名称
  2421. type: string
  2422. postcode:
  2423. description: 邮政编码
  2424. type: string
  2425. separablename:
  2426. description: 可拆分的全称
  2427. type: string
  2428. shortcode:
  2429. description: 地区简码
  2430. type: string
  2431. required:
  2432. - autoid
  2433. - divisioncode
  2434. type: object
  2435. models.Enumdicitem:
  2436. properties:
  2437. autoid:
  2438. description: 自增ID
  2439. type: integer
  2440. bankmappedvalue:
  2441. description: 银行服务对应值
  2442. type: string
  2443. enumdiccode:
  2444. description: 所属枚举代码
  2445. type: string
  2446. enumdicid:
  2447. description: 所属枚举ID
  2448. type: integer
  2449. enumdicname:
  2450. description: 枚举项名称
  2451. type: string
  2452. enumitemname:
  2453. description: 枚举项值
  2454. type: integer
  2455. enumitemstatus:
  2456. description: 枚举项状态 - 1.启用 2.不启用
  2457. type: integer
  2458. enumitemvalue:
  2459. description: 通用值 - [币种通用简写]
  2460. type: string
  2461. param1:
  2462. description: 参数1[币种:币种小数位]
  2463. type: string
  2464. param2:
  2465. description: 参数1[币种:币种显示单位]
  2466. type: string
  2467. remark:
  2468. description: 备注
  2469. type: string
  2470. required:
  2471. - autoid
  2472. - enumdiccode
  2473. - enumdicid
  2474. - enumitemname
  2475. type: object
  2476. models.ErmcpAreaSpotDetailModel:
  2477. properties:
  2478. contracttype:
  2479. description: 合同类型 1-采购 -1-销售
  2480. type: integer
  2481. enumdicname:
  2482. description: 现货商品单位名称
  2483. type: string
  2484. logtype:
  2485. description: 记录类型 1-套保 2-现货合同
  2486. type: integer
  2487. qty:
  2488. description: 数量
  2489. type: number
  2490. recordname:
  2491. description: 类型名称
  2492. type: string
  2493. relatedid:
  2494. description: 套保计划ID/现货合同ID
  2495. type: string
  2496. relatedno:
  2497. description: 编号
  2498. type: string
  2499. strtime:
  2500. description: 时间
  2501. type: string
  2502. wrstandardcode:
  2503. description: 现货商品代码
  2504. type: string
  2505. wrstandardname:
  2506. description: 现货商品名称
  2507. type: string
  2508. type: object
  2509. models.ErmcpExposureDetailModel:
  2510. properties:
  2511. areauserid:
  2512. description: 机构ID
  2513. type: integer
  2514. changeQty:
  2515. description: 套保变动量
  2516. type: number
  2517. contracttype:
  2518. description: 现货合同类型 - 1:采购 -1:销售
  2519. type: integer
  2520. convertfactor:
  2521. description: 标仓系数
  2522. type: number
  2523. convertratio:
  2524. description: 套保系数
  2525. type: number
  2526. createtime:
  2527. description: 时间
  2528. type: string
  2529. enumdicname:
  2530. description: 现货商品单位名称
  2531. type: string
  2532. logtype:
  2533. description: 类型 - 1:套保计划 2:现货合同
  2534. type: integer
  2535. middlegoodsId:
  2536. description: 套保商品id
  2537. type: integer
  2538. middlegoodscode:
  2539. description: 套保商品代码
  2540. type: string
  2541. middlegoodsname:
  2542. description: 套保商品名称
  2543. type: string
  2544. qty:
  2545. description: 数量
  2546. type: number
  2547. relateNo:
  2548. description: 现货合同/套保计划编号
  2549. type: string
  2550. wrstandardcode:
  2551. description: 现货商品代码
  2552. type: string
  2553. wrstandardid:
  2554. description: 现货商品ID
  2555. type: integer
  2556. wrstandardname:
  2557. description: 现货商品名称
  2558. type: string
  2559. type: object
  2560. models.ErmcpHedgePlan:
  2561. properties:
  2562. areauserid:
  2563. description: 用户ID
  2564. type: integer
  2565. contracttype:
  2566. description: 计划类型 - 1:采购 -1:销售
  2567. type: integer
  2568. convertfactor:
  2569. description: 标仓系数
  2570. type: number
  2571. deliverygoodsid:
  2572. description: 现货品种ID
  2573. type: integer
  2574. deliverygoodsname:
  2575. description: 现货品种名称
  2576. type: string
  2577. hedgeplanid:
  2578. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  2579. type: string
  2580. hedgeplanno:
  2581. description: 套保计划编号(名称)
  2582. type: string
  2583. hedgeplanstatus:
  2584. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  2585. type: integer
  2586. planqty:
  2587. description: 计划数量
  2588. type: number
  2589. plantime:
  2590. description: 计划时间
  2591. type: string
  2592. producttype:
  2593. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2594. type: integer
  2595. remark:
  2596. description: 备注
  2597. type: string
  2598. spotgoodsdesc:
  2599. description: 商品型号
  2600. type: string
  2601. wrstandardid:
  2602. description: 现货商品ID
  2603. type: integer
  2604. wrstandardname:
  2605. description: 现货商品名称
  2606. type: string
  2607. type: object
  2608. models.ErmcpHisExposure:
  2609. properties:
  2610. areauserid:
  2611. description: 所属机构
  2612. type: integer
  2613. middlegoodscode:
  2614. description: 套保品种代码
  2615. type: string
  2616. middlegoodsid:
  2617. description: 套保品种ID
  2618. type: integer
  2619. middlegoodsname:
  2620. description: 套保品种名称
  2621. type: string
  2622. needhedgeexposourE:
  2623. description: 应套保敞口
  2624. type: number
  2625. needhedgeratio:
  2626. description: 应套保敞口比例
  2627. type: number
  2628. reckondate:
  2629. description: 日照时期(yyyyMMdd)
  2630. type: string
  2631. totalexposure:
  2632. description: 总敞口
  2633. type: number
  2634. totalfutureqty:
  2635. description: 期货头寸总量
  2636. type: number
  2637. totalhedgeratio:
  2638. description: 敞口比例
  2639. type: number
  2640. totalneedhedgeqty:
  2641. description: 应套保总量
  2642. type: number
  2643. totalspotqty:
  2644. description: 现货头寸总量
  2645. type: number
  2646. type: object
  2647. models.ErmcpMiddleGoodsModel:
  2648. properties:
  2649. areauserid:
  2650. description: 机构用户ID
  2651. type: integer
  2652. enumdicname:
  2653. description: 单位名称
  2654. type: string
  2655. evaluateratio:
  2656. description: 估价系数
  2657. type: number
  2658. goodsgroupid:
  2659. description: 关联期货品种ID
  2660. type: integer
  2661. isvalid:
  2662. description: 状态 0-无效(停用) 1-有效(正常)
  2663. type: integer
  2664. middlegoodscode:
  2665. description: 套保品种代码
  2666. type: string
  2667. middlegoodsid:
  2668. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  2669. type: integer
  2670. middlegoodsname:
  2671. description: 套保品种名称
  2672. type: string
  2673. modifytime:
  2674. description: 修改时间
  2675. type: string
  2676. needhedgeratio:
  2677. description: 套保比率
  2678. type: number
  2679. qtydecimalplace:
  2680. description: 数量小数位
  2681. type: integer
  2682. relatedgoodsid:
  2683. description: 关联交易商品ID
  2684. type: integer
  2685. relatedgoodstype:
  2686. description: 关联商品类型 - 1:期货合约 2:现货品种
  2687. type: integer
  2688. type: object
  2689. models.ErmcpModel:
  2690. properties:
  2691. accountid:
  2692. description: 账户ID
  2693. type: string
  2694. accountname:
  2695. description: 账户名称
  2696. type: string
  2697. contracctstatus:
  2698. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  2699. type: integer
  2700. contractno:
  2701. description: 合同编号
  2702. type: string
  2703. contracttype:
  2704. description: 合同类型 1-采购, -1-销售
  2705. type: integer
  2706. convertfactor:
  2707. description: 标仓系数
  2708. type: number
  2709. daikaiamount:
  2710. description: 待开票额
  2711. type: number
  2712. deliveryenddate:
  2713. description: 交割结束日
  2714. type: string
  2715. deliverygoodscode:
  2716. description: 现货商品代码
  2717. type: string
  2718. deliverygoodsid:
  2719. description: 现货商品ID
  2720. type: integer
  2721. deliverygoodsname:
  2722. description: 现货商品名称
  2723. type: string
  2724. deliverystartdate:
  2725. description: 交割开始日
  2726. type: string
  2727. enddate:
  2728. description: 点价结束日
  2729. type: string
  2730. enumdicname:
  2731. description: 单位名称
  2732. type: string
  2733. goodscode:
  2734. description: 点价商品代码
  2735. type: string
  2736. goodsid:
  2737. description: 点价商品ID
  2738. type: integer
  2739. invoiceamount:
  2740. description: 已开票额
  2741. type: number
  2742. loanamount:
  2743. description: 贷款总额=已定价额+调整金额
  2744. type: number
  2745. margin:
  2746. description: 保证金
  2747. type: number
  2748. payamount:
  2749. description: 已收付额(收款或付款)
  2750. type: number
  2751. price:
  2752. description: 价格
  2753. type: number
  2754. pricedamount:
  2755. description: 已定价额
  2756. type: number
  2757. pricedavg:
  2758. description: 已点均价
  2759. type: number
  2760. pricedqty:
  2761. description: 已定价量
  2762. type: number
  2763. pricemove:
  2764. description: 升贴水
  2765. type: number
  2766. pricetype:
  2767. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  2768. type: integer
  2769. producttype:
  2770. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2771. type: integer
  2772. qty:
  2773. description: 合同量
  2774. type: number
  2775. reckonadjustamount:
  2776. description: 调整金额
  2777. type: number
  2778. reckonedamount:
  2779. description: 已收付额(已确定额)
  2780. type: number
  2781. reckonotheramount:
  2782. description: 其它费用
  2783. type: number
  2784. reckonrealqty:
  2785. description: 已确定量
  2786. type: number
  2787. remark:
  2788. description: 备注
  2789. type: string
  2790. spotcontractid:
  2791. description: 合同ID
  2792. type: string
  2793. spotgoodsdesc:
  2794. description: 商品型号(商品规格)
  2795. type: string
  2796. startdate:
  2797. description: 点价开始日
  2798. type: string
  2799. totalamount:
  2800. description: 合计总额
  2801. type: number
  2802. unpayamount:
  2803. description: 待支收额(支付或收款)
  2804. type: number
  2805. unpricedqty:
  2806. description: 未定价量
  2807. type: number
  2808. unsureqty:
  2809. description: 未确定量
  2810. type: number
  2811. userid:
  2812. description: 用户ID
  2813. type: integer
  2814. type: object
  2815. models.ErmcpOPLogModel:
  2816. properties:
  2817. aftervalue:
  2818. description: 变更后
  2819. type: number
  2820. applyid:
  2821. description: 操作人ID
  2822. type: string
  2823. applyname:
  2824. description: 操作人名称
  2825. type: string
  2826. beforevalue:
  2827. description: 变更前
  2828. type: number
  2829. biztype:
  2830. description: 业务类型 - 1:套保计划 2:现货合同
  2831. type: integer
  2832. contracttype:
  2833. description: 现货合同类型 - 1:采购 -1:销售
  2834. type: integer
  2835. logvalue:
  2836. description: 数值
  2837. type: number
  2838. operatelogtype:
  2839. description: 操作流水类型
  2840. type: integer
  2841. operatelogtypedesc:
  2842. description: 操作流水类型名称
  2843. type: string
  2844. relatedid:
  2845. description: 现货合同ID\套保计划
  2846. type: string
  2847. updatetime:
  2848. description: 更新时间
  2849. type: string
  2850. type: object
  2851. models.ErmcpRealExposureModel:
  2852. properties:
  2853. areaUserID:
  2854. description: 所属机构
  2855. type: integer
  2856. buyFutureQty:
  2857. description: 买入期货数量
  2858. type: number
  2859. buyPlanQty:
  2860. description: 采购计划数量
  2861. type: number
  2862. buyPricedQty:
  2863. description: 采购合同已定价数量
  2864. type: number
  2865. middleGoodsCode:
  2866. description: 套保品种代码
  2867. type: string
  2868. middleGoodsHedgeRatio:
  2869. description: 应套保比例
  2870. type: number
  2871. middleGoodsID:
  2872. description: 套保品种
  2873. type: integer
  2874. middleGoodsName:
  2875. description: '************以下需计算或非redis数据************//'
  2876. type: string
  2877. needHedgeExposoure:
  2878. description: 应套保敞口
  2879. type: number
  2880. needHedgeRatio:
  2881. description: 应套保敞口比例
  2882. type: number
  2883. oriBuyFutureQty:
  2884. description: 期初买入期货数量
  2885. type: integer
  2886. oriBuyPlanQty:
  2887. description: 期初采购计划数量
  2888. type: number
  2889. oriBuyPricedQty:
  2890. description: 期初采购合同已定价数量
  2891. type: number
  2892. oriSellFutureQty:
  2893. description: 期初卖出期货数量
  2894. type: integer
  2895. oriSellPlanQty:
  2896. description: 期初销售计划数量
  2897. type: number
  2898. oriSellPricedQty:
  2899. description: 期初销售合同已定价数量
  2900. type: number
  2901. oriTotalFutuQty:
  2902. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  2903. type: integer
  2904. oriTotalSpotQty:
  2905. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  2906. type: number
  2907. sellFutureQty:
  2908. description: 卖出期货数量
  2909. type: number
  2910. sellPlanQty:
  2911. description: 销售计划数量
  2912. type: number
  2913. sellPricedQty:
  2914. description: 销售合同已定价数量
  2915. type: number
  2916. totalExposure:
  2917. description: 总敞口
  2918. type: number
  2919. totalFutureQty:
  2920. description: 期货数量
  2921. type: number
  2922. totalHedgeRatio:
  2923. description: 敞口比例
  2924. type: number
  2925. totalNeedHedgeQty:
  2926. description: 期货应套保量
  2927. type: number
  2928. totalSpotQty:
  2929. description: 现货数量
  2930. type: number
  2931. type: object
  2932. models.ErmcpSpotContractModel:
  2933. properties:
  2934. amount:
  2935. description: 金额 [1:一口价、3:暂定价]
  2936. type: number
  2937. buyuserid:
  2938. description: 采购方ID
  2939. type: integer
  2940. buyusername:
  2941. description: 采购方名称
  2942. type: string
  2943. contracctstatus:
  2944. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  2945. type: integer
  2946. contractno:
  2947. description: 现货合同编号
  2948. type: string
  2949. contracttype:
  2950. description: 现货合同类型 - 1:采购 -1:销售
  2951. type: integer
  2952. convertfactor:
  2953. description: 标仓系数
  2954. type: number
  2955. deliveryenddate:
  2956. description: 交收期(结束)
  2957. type: string
  2958. deliverygoodscode:
  2959. description: 现货品种代码
  2960. type: string
  2961. deliverygoodsid:
  2962. description: 现货品种ID
  2963. type: integer
  2964. deliverygoodsname:
  2965. description: 现货品种名称
  2966. type: string
  2967. deliverystartdate:
  2968. description: 交收期(开始)
  2969. type: string
  2970. enddate:
  2971. description: 点价结束日期 [2:点价 3:暂定价]
  2972. type: string
  2973. enumdicname:
  2974. description: 单位名称
  2975. type: string
  2976. goodscode:
  2977. description: 点价合约代码
  2978. type: string
  2979. goodsid:
  2980. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  2981. type: integer
  2982. margin:
  2983. description: 当前保证金
  2984. type: number
  2985. price:
  2986. description: 价格\暂定价 [1:一口价、3:暂定价]
  2987. type: number
  2988. pricemove:
  2989. description: 升贴水 [2:点价 3:暂定价]
  2990. type: number
  2991. pricetype:
  2992. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  2993. type: integer
  2994. producttype:
  2995. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2996. type: integer
  2997. qty:
  2998. description: 数量
  2999. type: number
  3000. remark:
  3001. description: 备注
  3002. type: string
  3003. selluserid:
  3004. description: 销售方ID
  3005. type: integer
  3006. sellusername:
  3007. description: 销售方名称
  3008. type: string
  3009. spotcontractid:
  3010. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  3011. type: string
  3012. spotgoodsdesc:
  3013. description: 商品型号
  3014. type: string
  3015. startdate:
  3016. description: 点价开始日期 [2:点价 3:暂定价]
  3017. type: string
  3018. userid:
  3019. description: 机构ID
  3020. type: integer
  3021. type: object
  3022. models.ErmcpUserModel:
  3023. properties:
  3024. address:
  3025. description: 通讯地址
  3026. type: string
  3027. attachment1:
  3028. description: 附件1
  3029. type: string
  3030. cardfrontphotourl:
  3031. description: 证件正面图片地址
  3032. type: string
  3033. cardnum:
  3034. description: 证件号码
  3035. type: string
  3036. cardtype:
  3037. description: 证件类型
  3038. type: integer
  3039. cardtypename:
  3040. description: 证件类型名称
  3041. type: string
  3042. cityid:
  3043. description: 市
  3044. type: integer
  3045. countryid:
  3046. description: 国家
  3047. type: integer
  3048. customername:
  3049. description: 企业名称
  3050. type: string
  3051. memberuserid:
  3052. description: 所属机构ID
  3053. type: integer
  3054. mobile:
  3055. description: 手机号码
  3056. type: string
  3057. provinceid:
  3058. description: 省
  3059. type: integer
  3060. remark:
  3061. description: 备注
  3062. type: string
  3063. status:
  3064. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  3065. type: integer
  3066. statusdesc:
  3067. description: 账户状态中文描述
  3068. type: string
  3069. telphone:
  3070. description: 联系电话
  3071. type: string
  3072. userid:
  3073. description: 用户ID
  3074. type: integer
  3075. userinfotype:
  3076. description: 客户类型
  3077. type: string
  3078. type: object
  3079. models.ErmcpWrstandDetail:
  3080. properties:
  3081. gbList:
  3082. description: 品牌列表
  3083. items:
  3084. $ref: '#/definitions/models.GoodsBrand'
  3085. type: array
  3086. gtList:
  3087. description: 型号列表
  3088. items:
  3089. $ref: '#/definitions/models.GoodsTypeModel'
  3090. type: array
  3091. wrd:
  3092. $ref: '#/definitions/models.ErmcpWrstandard'
  3093. description: 基本信息
  3094. type: object
  3095. wrsList:
  3096. description: 套保信息列表
  3097. items:
  3098. $ref: '#/definitions/models.WRSConverTDetail'
  3099. type: array
  3100. type: object
  3101. models.ErmcpWrstandard:
  3102. properties:
  3103. areauserid:
  3104. description: 所属机构
  3105. type: integer
  3106. createtime:
  3107. description: 创建时间
  3108. type: string
  3109. creatorid:
  3110. description: 创建人
  3111. type: integer
  3112. deliverygoodsid:
  3113. description: 品种ID
  3114. type: integer
  3115. enumdicname:
  3116. description: 单位名称
  3117. type: string
  3118. isvalid:
  3119. description: 是否有效 0-无效(停用) 1-有效(正常)
  3120. type: integer
  3121. minivalue:
  3122. description: 最小变动值
  3123. type: integer
  3124. minivaluedp:
  3125. description: 最小变动值小数位
  3126. type: integer
  3127. realminivalue:
  3128. description: 实际最小变动值
  3129. type: integer
  3130. realminivaluedp:
  3131. description: 实际最小变动值小数位
  3132. type: integer
  3133. remark:
  3134. description: 备注
  3135. type: string
  3136. unitid:
  3137. description: 单位ID
  3138. type: integer
  3139. updatetime:
  3140. description: 更新时间
  3141. type: string
  3142. wrstandardcode:
  3143. description: 现货商品代码
  3144. type: string
  3145. wrstandardid:
  3146. description: 现货商品ID(SEQ_WRSTANDARD)
  3147. type: integer
  3148. wrstandardname:
  3149. description: 现货商品名称
  3150. type: string
  3151. type: object
  3152. models.GoodsBrand:
  3153. properties:
  3154. brandid:
  3155. description: 品牌ID
  3156. type: integer
  3157. brandname:
  3158. description: 品牌名称
  3159. type: string
  3160. isvalid:
  3161. description: 是否有效 - 0:无效 1:有效
  3162. type: integer
  3163. type: object
  3164. models.GoodsIDAndName:
  3165. properties:
  3166. goodscode:
  3167. description: 商品代码(内部)
  3168. type: string
  3169. goodsid:
  3170. description: 商品ID(自增ID SEQ_GOODS)
  3171. type: integer
  3172. goodsname:
  3173. description: 商品名称
  3174. type: string
  3175. marketid:
  3176. description: 所属市场ID
  3177. type: integer
  3178. required:
  3179. - goodscode
  3180. - goodsid
  3181. - goodsname
  3182. - marketid
  3183. type: object
  3184. models.GoodsTypeModel:
  3185. properties:
  3186. modelid:
  3187. description: 型号ID
  3188. type: integer
  3189. modelname:
  3190. description: 型号名称
  3191. type: string
  3192. updatetime:
  3193. description: 更新时间
  3194. type: string
  3195. type: object
  3196. models.HsbyBuyMyPayOrder:
  3197. properties:
  3198. agreeunit:
  3199. description: 合约单位
  3200. type: number
  3201. buyaccountid:
  3202. description: 买方账号ID[报价币种]
  3203. type: integer
  3204. buyorderid:
  3205. description: 买方委托单号
  3206. type: string
  3207. createtime:
  3208. description: 创建时间
  3209. type: string
  3210. currencysign:
  3211. description: 货币符号
  3212. type: string
  3213. decimalplace:
  3214. description: 报价小数位
  3215. type: integer
  3216. goodscode:
  3217. description: 商品代码(内部)
  3218. type: string
  3219. goodsid:
  3220. description: 商品ID
  3221. type: integer
  3222. goodsname:
  3223. description: 商品名称
  3224. type: string
  3225. marketid:
  3226. description: 市场ID
  3227. type: integer
  3228. offamount:
  3229. description: 优惠金额
  3230. type: number
  3231. payamount:
  3232. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  3233. type: number
  3234. payflag:
  3235. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  3236. type: integer
  3237. paylimitedtime:
  3238. description: 支付期限
  3239. type: string
  3240. paytime:
  3241. description: 付款时间
  3242. type: string
  3243. picurls1:
  3244. description: 预售商品介绍图片[多张用逗号分隔]
  3245. type: string
  3246. picurls2:
  3247. description: 挂牌商品介绍图片[多张用逗号分隔]
  3248. type: string
  3249. sellaccountid:
  3250. description: 卖方账号ID[报价币种]
  3251. type: integer
  3252. sellorderid:
  3253. description: 卖方委托单号
  3254. type: string
  3255. tradeamount:
  3256. description: 成交金额
  3257. type: number
  3258. tradecharge:
  3259. description: 成交手续费(买方)
  3260. type: number
  3261. tradedate:
  3262. description: 交易日(yyyyMMdd)
  3263. type: string
  3264. tradeid:
  3265. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3266. type: string
  3267. trademode:
  3268. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3269. 21:竞拍-大宗式 22:受托竞价
  3270. type: integer
  3271. tradeprice:
  3272. description: 成交价格
  3273. type: number
  3274. tradeqty:
  3275. description: 成交数量
  3276. type: integer
  3277. vendorname1:
  3278. description: 预售商品供应商名称
  3279. type: string
  3280. vendorname2:
  3281. description: 挂牌商品供应商名称
  3282. type: string
  3283. required:
  3284. - goodscode
  3285. - goodsname
  3286. - tradeid
  3287. - trademode
  3288. type: object
  3289. models.HsbyBuyMyTradeDetail:
  3290. properties:
  3291. accountid:
  3292. description: 账户ID[报价币种]
  3293. type: integer
  3294. agreeunit:
  3295. description: 合约单位
  3296. type: number
  3297. amount:
  3298. description: 金额 = 价格 * 数量 * 合约单位
  3299. type: number
  3300. buyorsell:
  3301. description: 买卖 - 0:买 1:卖
  3302. type: integer
  3303. currencysign:
  3304. description: 货币符号
  3305. type: string
  3306. decimalplace:
  3307. description: 报价小数位
  3308. type: integer
  3309. goodscode:
  3310. description: 商品代码(内部)
  3311. type: string
  3312. goodsid:
  3313. description: 商品ID
  3314. type: integer
  3315. goodsname:
  3316. description: 商品名称
  3317. type: string
  3318. marketid:
  3319. description: 市场ID
  3320. type: integer
  3321. orderid:
  3322. description: 单号(成交单号)
  3323. type: string
  3324. picurls1:
  3325. description: 预售商品介绍图片[多张用逗号分隔]
  3326. type: string
  3327. picurls2:
  3328. description: 挂牌商品介绍图片[多张用逗号分隔]
  3329. type: string
  3330. price:
  3331. description: 价格
  3332. type: number
  3333. qty:
  3334. description: 数量
  3335. type: integer
  3336. time:
  3337. description: 时间
  3338. type: string
  3339. trademode:
  3340. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3341. 21:竞拍-大宗式 22:受托竞价
  3342. type: integer
  3343. vendorname1:
  3344. description: 预售商品供应商名称
  3345. type: string
  3346. vendorname2:
  3347. description: 挂牌商品供应商名称
  3348. type: string
  3349. required:
  3350. - accountid
  3351. - buyorsell
  3352. - goodscode
  3353. - goodsid
  3354. - goodsname
  3355. - marketid
  3356. - orderid
  3357. - qty
  3358. - time
  3359. - trademode
  3360. type: object
  3361. models.HsbyGoodsOrderDetail:
  3362. properties:
  3363. buyorsell:
  3364. description: 买卖 - 0:买 1:卖
  3365. type: integer
  3366. currencysign:
  3367. description: 货币符号
  3368. type: string
  3369. customername:
  3370. description: 客户名称(企业名称),已脱敏
  3371. type: string
  3372. enableqty:
  3373. description: 可用数量
  3374. type: integer
  3375. goodunit:
  3376. description: 报价单位
  3377. type: string
  3378. orderid:
  3379. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3380. type: string
  3381. orderprice:
  3382. description: 委托价格
  3383. type: number
  3384. ordertime:
  3385. description: 委托时间
  3386. type: string
  3387. required:
  3388. - buyorsell
  3389. - orderid
  3390. - ordertime
  3391. type: object
  3392. models.HsbyListingGoodsDetail:
  3393. properties:
  3394. agreeunit:
  3395. description: 合约单位
  3396. type: number
  3397. buymaxqty:
  3398. description: 购买上限 [71] - 0为不限
  3399. type: integer
  3400. currency:
  3401. description: 货币
  3402. type: string
  3403. currencysign:
  3404. description: 货币符号
  3405. type: string
  3406. decimalplace:
  3407. description: 报价小数位
  3408. type: integer
  3409. desccityid:
  3410. description: 目的地(市)ID
  3411. type: integer
  3412. descprovinceid:
  3413. description: 目的地(省)ID
  3414. type: integer
  3415. goodscode:
  3416. description: 商品代码(内部)
  3417. type: string
  3418. goodsdesc:
  3419. description: 商品详情
  3420. type: string
  3421. goodsid:
  3422. description: 商品ID(自增ID SEQ_GOODS)
  3423. type: integer
  3424. goodsname:
  3425. description: 商品名称
  3426. type: string
  3427. goodsprice:
  3428. description: 商品价格
  3429. type: number
  3430. hotindex:
  3431. description: 景点热度
  3432. type: integer
  3433. last:
  3434. description: 现价
  3435. type: number
  3436. limitdown:
  3437. description: 跌停价
  3438. type: number
  3439. limitup:
  3440. description: 涨停价
  3441. type: number
  3442. lotsize:
  3443. description: 手数最小变动单位
  3444. type: integer
  3445. marketid:
  3446. description: 所属市场ID
  3447. type: integer
  3448. picurls:
  3449. description: 介绍图片[多张用逗号分隔]
  3450. type: string
  3451. quoteminunit:
  3452. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3453. type: integer
  3454. stepvalue:
  3455. description: 价格最小变动单位
  3456. type: number
  3457. trademode:
  3458. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3459. 21:竞拍-大宗式 22:受托竞价
  3460. type: integer
  3461. vendorattr:
  3462. description: 供应商附件(多张,逗号分隔)
  3463. type: string
  3464. vendorname:
  3465. description: 供应商名称
  3466. type: string
  3467. vendorphone:
  3468. description: 供应商客服电话
  3469. type: string
  3470. videourls:
  3471. description: 介绍视频[多张用逗号分隔]
  3472. type: string
  3473. required:
  3474. - goodscode
  3475. - goodsid
  3476. - goodsname
  3477. - marketid
  3478. - trademode
  3479. type: object
  3480. models.HsbyMarketGoods:
  3481. properties:
  3482. accountid:
  3483. description: 账户ID[报价币种]
  3484. type: integer
  3485. agreeunit:
  3486. description: 合约单位
  3487. type: number
  3488. buyorsell:
  3489. description: 买卖 - 0:买 1:卖
  3490. type: integer
  3491. categoryid:
  3492. description: 类别ID(WRCATEGORY)
  3493. type: integer
  3494. currency:
  3495. description: 货币
  3496. type: string
  3497. currencysign:
  3498. description: 货币符号
  3499. type: string
  3500. customername:
  3501. description: 卖家名称
  3502. type: string
  3503. decimalplace:
  3504. description: 报价小数位
  3505. type: integer
  3506. goodscode:
  3507. description: 商品代码(内部)
  3508. type: string
  3509. goodsid:
  3510. description: 商品ID
  3511. type: integer
  3512. goodsname:
  3513. description: 商品名称
  3514. type: string
  3515. goodsprice:
  3516. description: 商品价格
  3517. type: number
  3518. hascoupon:
  3519. description: 是否可用优惠卷
  3520. type: boolean
  3521. hotindex:
  3522. description: 景点热度
  3523. type: integer
  3524. marketid:
  3525. description: 市场ID
  3526. type: integer
  3527. orderid:
  3528. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3529. type: string
  3530. orderprice:
  3531. description: 委托价格
  3532. type: number
  3533. orderstatus:
  3534. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  3535. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  3536. 16:成交失败违约(荷兰式竞拍专用)
  3537. type: integer
  3538. picurls:
  3539. description: 介绍图片[多张用逗号分隔]
  3540. type: string
  3541. quoteminunit:
  3542. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3543. type: integer
  3544. sellUserID:
  3545. description: 卖方UserID
  3546. type: integer
  3547. trademode:
  3548. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3549. 21:竞拍-大宗式 22:受托竞价
  3550. type: integer
  3551. videourls:
  3552. description: 介绍视频[多张用逗号分隔]
  3553. type: string
  3554. required:
  3555. - accountid
  3556. - buyorsell
  3557. - goodscode
  3558. - goodsid
  3559. - goodsname
  3560. - marketid
  3561. - orderid
  3562. - trademode
  3563. type: object
  3564. models.HsbyMarketGoodsDetail:
  3565. properties:
  3566. accountid:
  3567. description: 账户ID[报价币种]
  3568. type: integer
  3569. agreeunit:
  3570. description: 合约单位
  3571. type: number
  3572. buymaxqty:
  3573. description: 购买上限 [71] - 0为不限
  3574. type: integer
  3575. buyorsell:
  3576. description: 买卖 - 0:买 1:卖
  3577. type: integer
  3578. cancelqty:
  3579. description: 撤单数量
  3580. type: integer
  3581. categoryid:
  3582. description: 类别ID(WRCATEGORY)
  3583. type: integer
  3584. currency:
  3585. description: 货币
  3586. type: string
  3587. currencysign:
  3588. description: 货币符号
  3589. type: string
  3590. customername:
  3591. description: 卖家名称
  3592. type: string
  3593. decimalplace:
  3594. description: 报价小数位
  3595. type: integer
  3596. goodscode:
  3597. description: 商品代码(内部)
  3598. type: string
  3599. goodsdesc:
  3600. description: 商品详情
  3601. type: string
  3602. goodsid:
  3603. description: 商品ID
  3604. type: integer
  3605. goodsname:
  3606. description: 商品名称
  3607. type: string
  3608. goodsprice:
  3609. description: 商品价格
  3610. type: number
  3611. hotindex:
  3612. description: 景点热度
  3613. type: integer
  3614. lotsize:
  3615. description: 手数最小变动单位
  3616. type: integer
  3617. marketid:
  3618. description: 市场ID
  3619. type: integer
  3620. orderid:
  3621. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3622. type: string
  3623. orderprice:
  3624. description: 委托价格
  3625. type: number
  3626. orderqty:
  3627. description: 委托数量
  3628. type: integer
  3629. orderstatus:
  3630. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  3631. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  3632. 16:成交失败违约(荷兰式竞拍专用)
  3633. type: integer
  3634. picurls:
  3635. description: 介绍图片[多张用逗号分隔]
  3636. type: string
  3637. quoteminunit:
  3638. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3639. type: integer
  3640. sellUserID:
  3641. description: 卖方UserID
  3642. type: integer
  3643. trademode:
  3644. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3645. 21:竞拍-大宗式 22:受托竞价
  3646. type: integer
  3647. tradeqty:
  3648. description: 成交数量
  3649. type: integer
  3650. vendorattr:
  3651. description: 供应商附件(多张,逗号分隔)
  3652. type: string
  3653. vendorname:
  3654. description: 供应商名称
  3655. type: string
  3656. vendorphone:
  3657. description: 供应商客服电话
  3658. type: string
  3659. videourls:
  3660. description: 介绍视频[多张用逗号分隔]
  3661. type: string
  3662. required:
  3663. - accountid
  3664. - buyorsell
  3665. - goodscode
  3666. - goodsid
  3667. - goodsname
  3668. - marketid
  3669. - orderid
  3670. - orderqty
  3671. - trademode
  3672. type: object
  3673. models.HsbyMarketInfo:
  3674. properties:
  3675. marketid:
  3676. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  3677. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  3678. type: integer
  3679. marketname:
  3680. description: 市场名称
  3681. type: string
  3682. marketstatus:
  3683. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  3684. type: integer
  3685. trademode:
  3686. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3687. 21:竞拍-大宗式 22:受托竞价
  3688. type: integer
  3689. required:
  3690. - marketid
  3691. - marketstatus
  3692. - trademode
  3693. type: object
  3694. models.HsbyMyGoods:
  3695. properties:
  3696. accountid:
  3697. description: 账号Id
  3698. type: integer
  3699. agreeunit:
  3700. description: 合约单位
  3701. type: number
  3702. buyaverageprice:
  3703. description: 持仓均价
  3704. type: number
  3705. buycurholderamount:
  3706. description: 买当前持仓总金额[商品币种]
  3707. type: number
  3708. buycurpositionqty:
  3709. description: 买当前持仓总数量
  3710. type: integer
  3711. buymaxqty:
  3712. description: 购买上限 [71] - 0为不限
  3713. type: integer
  3714. currencysign:
  3715. description: 货币符号
  3716. type: string
  3717. decimalplace:
  3718. description: 报价小数位
  3719. type: integer
  3720. enableqty:
  3721. description: 可用数量
  3722. type: integer
  3723. goodscode:
  3724. description: 商品代码(内部)
  3725. type: string
  3726. goodsid:
  3727. description: 商品Id
  3728. type: integer
  3729. goodsname:
  3730. description: 商品名称
  3731. type: string
  3732. goodsprice:
  3733. description: 商品价格
  3734. type: number
  3735. goodsstatus:
  3736. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  3737. type: integer
  3738. last:
  3739. description: 现价(仅使用于挂牌点选)
  3740. type: number
  3741. limitdown:
  3742. description: 跌停价(仅使用于挂牌点选)
  3743. type: number
  3744. limitup:
  3745. description: 涨停价(仅使用于挂牌点选)
  3746. type: number
  3747. lotsize:
  3748. description: 手数最小变动单位
  3749. type: integer
  3750. marketid:
  3751. description: 所属市场ID
  3752. type: integer
  3753. picurls:
  3754. description: 介绍图片[多张用逗号分隔]
  3755. type: string
  3756. quoteminunit:
  3757. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3758. type: integer
  3759. stepvalue:
  3760. description: 价格最小变动单位
  3761. type: number
  3762. trademode:
  3763. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3764. 21:竞拍-大宗式 22:受托竞价
  3765. type: integer
  3766. required:
  3767. - accountid
  3768. - goodscode
  3769. - goodsid
  3770. - goodsname
  3771. - marketid
  3772. - trademode
  3773. type: object
  3774. models.HsbyMyPackage:
  3775. properties:
  3776. accountid:
  3777. description: 账户ID
  3778. type: integer
  3779. address:
  3780. description: 提货人详细地址
  3781. type: string
  3782. agreeunit:
  3783. description: 合约单位
  3784. type: number
  3785. amount:
  3786. description: 提货金额
  3787. type: number
  3788. auditer:
  3789. description: 审核人
  3790. type: integer
  3791. audittime:
  3792. description: 审核时间
  3793. type: string
  3794. averageprice:
  3795. description: 均价
  3796. type: number
  3797. cardnum:
  3798. description: 提货人证件号码
  3799. type: string
  3800. cardtypeid:
  3801. description: 提货人证件类型
  3802. type: integer
  3803. checkremark:
  3804. description: 审核备注
  3805. type: string
  3806. currencysign:
  3807. description: 货币符号
  3808. type: string
  3809. decimalplace:
  3810. description: 报价小数位
  3811. type: integer
  3812. goodscode:
  3813. description: 商品代码(内部)
  3814. type: string
  3815. goodsid:
  3816. description: 商品ID
  3817. type: integer
  3818. goodsname:
  3819. description: 商品名称
  3820. type: string
  3821. handlestatus:
  3822. description: 处理状态
  3823. type: integer
  3824. marketid:
  3825. description: 市场ID
  3826. type: integer
  3827. phonenum:
  3828. description: 提货人联系方式
  3829. type: string
  3830. picurls:
  3831. description: 介绍图片[多张用逗号分隔]
  3832. type: string
  3833. qty:
  3834. description: 提货数量
  3835. type: number
  3836. recivername:
  3837. description: 提货人姓名
  3838. type: string
  3839. reqtime:
  3840. description: 更新时间
  3841. type: string
  3842. takemode:
  3843. description: 提货方式 - 2:自提 3:配送
  3844. type: integer
  3845. takeorderid:
  3846. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  3847. type: string
  3848. takeorderstatus:
  3849. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  3850. type: integer
  3851. takeremark:
  3852. description: 提货备注
  3853. type: string
  3854. tradedate:
  3855. description: 交易日(yyyyMMdd)
  3856. type: string
  3857. userid:
  3858. description: 用户ID
  3859. type: integer
  3860. vendorname:
  3861. description: 供应商名称
  3862. type: string
  3863. required:
  3864. - goodscode
  3865. - goodsname
  3866. - takeorderid
  3867. type: object
  3868. models.HsbyPreGoods:
  3869. properties:
  3870. agreeunit:
  3871. description: 合约单位
  3872. type: number
  3873. currency:
  3874. description: 货币
  3875. type: string
  3876. currencysign:
  3877. description: 货币符号
  3878. type: string
  3879. decimalplace:
  3880. description: 报价小数位
  3881. type: integer
  3882. enableqty:
  3883. description: 剩余数量
  3884. type: integer
  3885. goodscode:
  3886. description: 商品代码(内部)
  3887. type: string
  3888. goodsid:
  3889. description: 商品ID(自增ID SEQ_GOODS)
  3890. type: integer
  3891. goodsname:
  3892. description: 商品名称
  3893. type: string
  3894. goodsstatus:
  3895. description: 商品状态- 2:未上市 3:上市
  3896. type: integer
  3897. lasttradedate:
  3898. description: 最后交易日期(状态:待退市)
  3899. type: string
  3900. listingdate:
  3901. description: 交易开始日期
  3902. type: string
  3903. marketid:
  3904. description: 所属市场ID
  3905. type: integer
  3906. picurls:
  3907. description: 介绍图片[多张用逗号分隔]
  3908. type: string
  3909. presaledqty:
  3910. description: 已预售量(预售结束时更新)
  3911. type: integer
  3912. presaleqty:
  3913. description: 预售数量
  3914. type: integer
  3915. quoteminunit:
  3916. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3917. type: integer
  3918. refprice:
  3919. description: 参考价格[一口价]
  3920. type: number
  3921. relatedgoodsid:
  3922. description: 关联交易合约ID
  3923. type: integer
  3924. trademode:
  3925. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3926. 21:竞拍-大宗式 22:受托竞价
  3927. type: integer
  3928. videourls:
  3929. description: 介绍视频[多张用逗号分隔]
  3930. type: string
  3931. required:
  3932. - goodscode
  3933. - goodsid
  3934. - goodsname
  3935. - marketid
  3936. - trademode
  3937. type: object
  3938. models.HsbyPreGoodsDetail:
  3939. properties:
  3940. agreeunit:
  3941. description: 合约单位
  3942. type: number
  3943. buymaxqty:
  3944. description: 购买上限 [71] - 0为不限
  3945. type: integer
  3946. currency:
  3947. description: 货币
  3948. type: string
  3949. currencysign:
  3950. description: 货币符号
  3951. type: string
  3952. customername:
  3953. description: 发行单位
  3954. type: string
  3955. decimalplace:
  3956. description: 报价小数位
  3957. type: integer
  3958. desccityid:
  3959. description: 目的地(市)ID
  3960. type: integer
  3961. descprovinceid:
  3962. description: 目的地(省)ID
  3963. type: integer
  3964. enableqty:
  3965. description: 剩余数量
  3966. type: integer
  3967. goodscode:
  3968. description: 商品代码(内部)
  3969. type: string
  3970. goodsdesc:
  3971. description: 商品详情
  3972. type: string
  3973. goodsid:
  3974. description: 商品ID(自增ID SEQ_GOODS)
  3975. type: integer
  3976. goodsname:
  3977. description: 商品名称
  3978. type: string
  3979. goodsstatus:
  3980. description: 商品状态- 2:未上市 3:上市
  3981. type: integer
  3982. goodunit:
  3983. description: 报价单位
  3984. type: string
  3985. lasttradedate:
  3986. description: 最后交易日期(状态:待退市)
  3987. type: string
  3988. listingdate:
  3989. description: 交易开始日期
  3990. type: string
  3991. lotsize:
  3992. description: 手数最小变动单位
  3993. type: integer
  3994. marketid:
  3995. description: 所属市场ID
  3996. type: integer
  3997. picurls:
  3998. description: 介绍图片[多张用逗号分隔]
  3999. type: string
  4000. presaledqty:
  4001. description: 已预售量(预售结束时更新)
  4002. type: integer
  4003. presaleqty:
  4004. description: 预售数量
  4005. type: integer
  4006. quoteminunit:
  4007. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4008. type: integer
  4009. refprice:
  4010. description: 参考价格[一口价]
  4011. type: number
  4012. relatedgoodsid:
  4013. description: 关联交易合约ID
  4014. type: integer
  4015. stepvalue:
  4016. description: 价格最小变动单位
  4017. type: number
  4018. trademode:
  4019. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4020. 21:竞拍-大宗式 22:受托竞价
  4021. type: integer
  4022. vendorattr:
  4023. description: 供应商附件(多张,逗号分隔)
  4024. type: string
  4025. vendorname:
  4026. description: 供应商名称
  4027. type: string
  4028. vendorphone:
  4029. description: 供应商客服电话
  4030. type: string
  4031. videourls:
  4032. description: 介绍视频[多张用逗号分隔]
  4033. type: string
  4034. required:
  4035. - goodscode
  4036. - goodsid
  4037. - goodsname
  4038. - marketid
  4039. - trademode
  4040. type: object
  4041. models.HsbySellCollectionOrder:
  4042. properties:
  4043. agreeunit:
  4044. description: 合约单位
  4045. type: number
  4046. buyaccountid:
  4047. description: 买方账号ID[报价币种]
  4048. type: integer
  4049. buyorderid:
  4050. description: 买方委托单号
  4051. type: string
  4052. createtime:
  4053. description: 创建时间
  4054. type: string
  4055. currencysign:
  4056. description: 货币符号
  4057. type: string
  4058. decimalplace:
  4059. description: 报价小数位
  4060. type: integer
  4061. goodscode:
  4062. description: 商品代码(内部)
  4063. type: string
  4064. goodsid:
  4065. description: 商品ID
  4066. type: integer
  4067. goodsname:
  4068. description: 商品名称
  4069. type: string
  4070. marketid:
  4071. description: 市场ID
  4072. type: integer
  4073. offamount:
  4074. description: 优惠金额
  4075. type: number
  4076. payamount:
  4077. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  4078. type: number
  4079. payflag:
  4080. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  4081. type: integer
  4082. paylimitedtime:
  4083. description: 支付期限
  4084. type: string
  4085. paytime:
  4086. description: 付款时间
  4087. type: string
  4088. picurls:
  4089. description: 商品介绍图片[多张用逗号分隔]
  4090. type: string
  4091. sellaccountid:
  4092. description: 卖方账号ID[报价币种]
  4093. type: integer
  4094. sellorderid:
  4095. description: 卖方委托单号
  4096. type: string
  4097. tradeamount:
  4098. description: 成交金额
  4099. type: number
  4100. tradecharge:
  4101. description: 成交手续费(买方)
  4102. type: number
  4103. tradedate:
  4104. description: 交易日(yyyyMMdd)
  4105. type: string
  4106. tradeid:
  4107. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4108. type: string
  4109. trademode:
  4110. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4111. 21:竞拍-大宗式 22:受托竞价
  4112. type: integer
  4113. tradeprice:
  4114. description: 成交价格
  4115. type: number
  4116. tradeqty:
  4117. description: 成交数量
  4118. type: integer
  4119. required:
  4120. - goodscode
  4121. - goodsname
  4122. - tradeid
  4123. - trademode
  4124. type: object
  4125. models.HsbySellMyDetail:
  4126. properties:
  4127. accountid:
  4128. description: 账户ID[报价币种]
  4129. type: integer
  4130. agreeunit:
  4131. description: 合约单位
  4132. type: number
  4133. buyorsell:
  4134. description: 买卖 - 0:买 1:卖
  4135. type: integer
  4136. currencysign:
  4137. description: 货币符号
  4138. type: string
  4139. decimalplace:
  4140. description: 报价小数位
  4141. type: integer
  4142. goodscode:
  4143. description: 商品代码(内部)
  4144. type: string
  4145. goodsid:
  4146. description: 商品ID
  4147. type: integer
  4148. goodsname:
  4149. description: 商品名称
  4150. type: string
  4151. marketid:
  4152. description: 市场ID
  4153. type: integer
  4154. orderid:
  4155. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  4156. type: string
  4157. ordertype:
  4158. description: 单据类型:0 - 发布中, 1 - 已完成
  4159. type: integer
  4160. picurls:
  4161. description: 介绍图片[多张用逗号分隔]
  4162. type: string
  4163. price:
  4164. description: 价格
  4165. type: number
  4166. qty:
  4167. description: 数量
  4168. type: integer
  4169. time:
  4170. description: 时间
  4171. type: string
  4172. trademode:
  4173. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4174. 21:竞拍-大宗式 22:受托竞价
  4175. type: integer
  4176. vendorname:
  4177. description: 供应商名称
  4178. type: string
  4179. required:
  4180. - accountid
  4181. - buyorsell
  4182. - goodscode
  4183. - goodsid
  4184. - goodsname
  4185. - marketid
  4186. - orderid
  4187. - time
  4188. - trademode
  4189. type: object
  4190. models.HsbyTopGoods:
  4191. properties:
  4192. agreeunit:
  4193. description: 合约单位
  4194. type: number
  4195. currency:
  4196. description: 货币
  4197. type: string
  4198. currencysign:
  4199. description: 货币符号
  4200. type: string
  4201. decimalplace:
  4202. description: 报价小数位
  4203. type: integer
  4204. goodscode:
  4205. description: 商品代码(内部)
  4206. type: string
  4207. goodsid:
  4208. description: 商品ID(自增ID SEQ_GOODS)
  4209. type: integer
  4210. goodsname:
  4211. description: 商品名称
  4212. type: string
  4213. hotindex:
  4214. description: 景点热度
  4215. type: integer
  4216. last:
  4217. description: 现价
  4218. type: number
  4219. marketid:
  4220. description: 所属市场ID
  4221. type: integer
  4222. picurls:
  4223. description: 介绍图片[多张用逗号分隔]
  4224. type: string
  4225. quoteminunit:
  4226. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4227. type: integer
  4228. trademode:
  4229. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4230. 21:竞拍-大宗式 22:受托竞价
  4231. type: integer
  4232. videourls:
  4233. description: 介绍视频[多张用逗号分隔]
  4234. type: string
  4235. required:
  4236. - goodscode
  4237. - goodsid
  4238. - goodsname
  4239. - marketid
  4240. - trademode
  4241. type: object
  4242. models.HybsMyBuyOrderDetail:
  4243. properties:
  4244. accountid:
  4245. description: 账户ID[报价币种]
  4246. type: integer
  4247. agreeunit:
  4248. description: 合约单位
  4249. type: number
  4250. buyorsell:
  4251. description: 买卖 - 0:买 1:卖
  4252. type: integer
  4253. cancelqty:
  4254. description: 撤单数量
  4255. type: integer
  4256. currencysign:
  4257. description: 货币符号
  4258. type: string
  4259. decimalplace:
  4260. description: 报价小数位
  4261. type: integer
  4262. goodscode:
  4263. description: 商品代码(内部)
  4264. type: string
  4265. goodsid:
  4266. description: 商品ID
  4267. type: integer
  4268. goodsname:
  4269. description: 商品名称
  4270. type: string
  4271. listingselecttype:
  4272. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  4273. type: integer
  4274. marketid:
  4275. description: 市场ID
  4276. type: integer
  4277. mybuystatus:
  4278. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  4279. type: integer
  4280. orderamount:
  4281. description: 委托金额
  4282. type: number
  4283. orderid:
  4284. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4285. type: string
  4286. orderprice:
  4287. description: 委托价格
  4288. type: number
  4289. orderqty:
  4290. description: 委托数量
  4291. type: integer
  4292. orderstatus:
  4293. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  4294. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  4295. 16:成交失败违约(荷兰式竞拍专用)
  4296. type: integer
  4297. ordertime:
  4298. description: 委托时间
  4299. type: string
  4300. picurls1:
  4301. description: 预售商品介绍图片[多张用逗号分隔]
  4302. type: string
  4303. picurls2:
  4304. description: 挂牌商品介绍图片[多张用逗号分隔]
  4305. type: string
  4306. trademode:
  4307. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4308. 21:竞拍-大宗式 22:受托竞价
  4309. type: integer
  4310. tradeqty:
  4311. description: 成交数量
  4312. type: integer
  4313. vendorname1:
  4314. description: 预售商品供应商名称
  4315. type: string
  4316. vendorname2:
  4317. description: 挂牌商品供应商名称
  4318. type: string
  4319. required:
  4320. - accountid
  4321. - buyorsell
  4322. - goodscode
  4323. - goodsid
  4324. - goodsname
  4325. - marketid
  4326. - orderid
  4327. - orderqty
  4328. - ordertime
  4329. - trademode
  4330. type: object
  4331. models.Market:
  4332. properties:
  4333. auctionwrtype:
  4334. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  4335. type: integer
  4336. canacceptquote:
  4337. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  4338. type: integer
  4339. cangoodsexercise:
  4340. description: '[期权]是否可现货行权- 0:否 1:是'
  4341. type: integer
  4342. cangoodsexercisetype:
  4343. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  4344. type: integer
  4345. canmanualquotestrike:
  4346. description: 是否可手动报行权价- 0:否 1:是 [期权]
  4347. type: integer
  4348. canmutistage:
  4349. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  4350. type: integer
  4351. canpreexercise:
  4352. description: '[期权]是否可预申报- 0:否 1:是'
  4353. type: integer
  4354. clearinterval:
  4355. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  4356. type: integer
  4357. contracttmp:
  4358. description: 合同模板[荷兰式][竞价式][仓单贸易]
  4359. type: string
  4360. exchareaid:
  4361. description: 所属交易所,可以没有
  4362. type: integer
  4363. goodstype:
  4364. description: 商品类型 - 1:交易商品 2:仓单商品
  4365. type: integer
  4366. hasrebate:
  4367. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  4368. type: integer
  4369. hastradecredit:
  4370. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  4371. type: integer
  4372. haswr:
  4373. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  4374. type: integer
  4375. isdeductmargin:
  4376. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  4377. type: integer
  4378. isrecordsource:
  4379. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  4380. type: integer
  4381. isreleasemargin:
  4382. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  4383. type: integer
  4384. marginformula:
  4385. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  4386. type: integer
  4387. marginformula2:
  4388. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  4389. type: integer
  4390. marketid:
  4391. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  4392. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  4393. type: integer
  4394. marketname:
  4395. description: 市场名称
  4396. type: string
  4397. marketserviceid:
  4398. description: 市场服务ID
  4399. type: integer
  4400. marketstatus:
  4401. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  4402. type: integer
  4403. markettype:
  4404. description: 市场类型- 1:非交易服务 2:交易服务
  4405. type: integer
  4406. matchermode:
  4407. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  4408. type: integer
  4409. openmethod:
  4410. description: 开盘模式 - 0 自动 1手动
  4411. type: integer
  4412. otcuserid:
  4413. description: 场外期权做市商[场外期权]
  4414. type: integer
  4415. outersynctime:
  4416. description: 外部同步时间点(h24:mi:ss)[场外期权]
  4417. type: string
  4418. pendingflag:
  4419. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  4420. type: integer
  4421. pendingtime:
  4422. description: 待开市时间[通道交易-对冲](HH:mm)
  4423. type: string
  4424. performancetempid:
  4425. description: 履约计划模板ID - 作废
  4426. type: integer
  4427. premiumquotemode:
  4428. description: 权利金报价方式 - 1:自动 2:手动
  4429. type: integer
  4430. rebateratio:
  4431. description: 返利比率[竞价式]
  4432. type: number
  4433. reckonorder:
  4434. description: 结算顺序
  4435. type: integer
  4436. reckonpricealgorithm:
  4437. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  4438. 6.卖一价 7.买一卖一均价 8.外部结算价'
  4439. type: integer
  4440. reckonpriceparam:
  4441. description: 结算价参数
  4442. type: integer
  4443. reckontime:
  4444. description: 结算时间[通道交易-对冲](HH:mm)
  4445. type: string
  4446. roleprioritytype:
  4447. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  4448. type: integer
  4449. selllistingauditflag:
  4450. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  4451. type: integer
  4452. trademarkettype:
  4453. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  4454. type: integer
  4455. trademode:
  4456. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4457. 21:竞拍-大宗式 22:受托竞价
  4458. type: integer
  4459. tradeproperty:
  4460. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  4461. 8:场外期权
  4462. type: integer
  4463. tradetype:
  4464. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  4465. type: integer
  4466. required:
  4467. - marketid
  4468. - marketstatus
  4469. - openmethod
  4470. - reckonpricealgorithm
  4471. - trademode
  4472. - tradeproperty
  4473. type: object
  4474. models.Marketrun:
  4475. properties:
  4476. afternexttradedate:
  4477. description: 下下交易日
  4478. type: string
  4479. clearquoteflag:
  4480. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  4481. type: integer
  4482. lastreckondate:
  4483. description: 最新交易日(结算成功)
  4484. type: string
  4485. machinedate:
  4486. description: 机器时间
  4487. type: string
  4488. manualflag:
  4489. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  4490. type: integer
  4491. marketid:
  4492. description: 市场ID
  4493. type: integer
  4494. nexttradedate:
  4495. description: 下一交易日
  4496. type: string
  4497. pretradedate:
  4498. description: 上一交易日
  4499. type: string
  4500. reckonflag:
  4501. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  4502. type: integer
  4503. runstatus:
  4504. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  4505. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  4506. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  4507. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  4508. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  4509. 62.今日免清算
  4510. type: integer
  4511. sectionid:
  4512. description: 时间段号[多时段时用]
  4513. type: integer
  4514. tradedate:
  4515. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  4516. type: string
  4517. tradedate2:
  4518. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  4519. type: string
  4520. updatetime:
  4521. description: 更新时间
  4522. type: string
  4523. required:
  4524. - marketid
  4525. - nexttradedate
  4526. - reckonflag
  4527. - runstatus
  4528. - tradedate
  4529. - tradedate2
  4530. type: object
  4531. models.Messageboard:
  4532. properties:
  4533. createtime:
  4534. description: 创建时间
  4535. type: string
  4536. message:
  4537. description: 留言信息
  4538. type: string
  4539. messageboardid:
  4540. description: 留言簿ID(SEQ_MessageBoard)
  4541. type: integer
  4542. userid:
  4543. description: 用户ID
  4544. type: integer
  4545. required:
  4546. - messageboardid
  4547. type: object
  4548. models.MyCoupon:
  4549. properties:
  4550. accountid:
  4551. description: 资金账户ID
  4552. type: integer
  4553. areauserid:
  4554. description: 所属机构
  4555. type: integer
  4556. conditionvalue:
  4557. description: 条件阈值(可为0)
  4558. type: number
  4559. couponcategroy:
  4560. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  4561. type: integer
  4562. couponname:
  4563. description: 优惠券名称
  4564. type: string
  4565. coupontypeid:
  4566. description: 优惠券类型ID
  4567. type: string
  4568. couponvalue:
  4569. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  4570. type: number
  4571. curfreezeqty:
  4572. description: 期末冻结数量
  4573. type: integer
  4574. curqty:
  4575. description: 期末数量
  4576. type: integer
  4577. isgeneral:
  4578. description: 是否通用券 - 0:否 1:是
  4579. type: integer
  4580. isunusable:
  4581. description: 是否不可用
  4582. type: boolean
  4583. limitedflag:
  4584. description: 是否指定商品 - 0:不限 1:限制
  4585. type: integer
  4586. limitedgoodsids:
  4587. description: 指定商品IDs[逗号分隔,前后加逗号]
  4588. type: string
  4589. orifreezeqty:
  4590. description: 期初冻结数量
  4591. type: integer
  4592. oriqty:
  4593. description: 期初数量
  4594. type: integer
  4595. reasontype:
  4596. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  4597. type: integer
  4598. todaydecrease:
  4599. description: 今日减少
  4600. type: integer
  4601. todayincrease:
  4602. description: 今日增加
  4603. type: integer
  4604. userid:
  4605. description: 用户ID
  4606. type: integer
  4607. userscope:
  4608. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  4609. type: string
  4610. required:
  4611. - accountid
  4612. - coupontypeid
  4613. type: object
  4614. models.MyCouponHold:
  4615. properties:
  4616. accountid:
  4617. description: 资金账户ID
  4618. type: integer
  4619. conditionvalue:
  4620. description: 条件阈值(可为0)
  4621. type: number
  4622. couponcategroy:
  4623. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  4624. type: integer
  4625. couponholdid:
  4626. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  4627. type: string
  4628. couponname:
  4629. description: 优惠券名称
  4630. type: string
  4631. coupontypeid:
  4632. description: 优惠券类型ID - SEQ_COUPONTYPE
  4633. type: string
  4634. couponvalue:
  4635. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  4636. type: number
  4637. createtime:
  4638. description: 创建时间
  4639. type: string
  4640. enddate:
  4641. description: 结束日期
  4642. type: string
  4643. giveapplyid:
  4644. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  4645. type: integer
  4646. holdstatus:
  4647. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  4648. type: integer
  4649. isgeneral:
  4650. description: 是否通用券 - 0:否 1:是
  4651. type: integer
  4652. limitedflag:
  4653. description: 是否指定商品 - 0:不限 1:限制
  4654. type: integer
  4655. limitedgoodsids:
  4656. description: 指定商品IDs[逗号分隔]
  4657. type: string
  4658. qty:
  4659. description: 数量(按1平铺)
  4660. type: integer
  4661. startdate:
  4662. description: 开始日期
  4663. type: string
  4664. userid:
  4665. description: 用户ID
  4666. type: integer
  4667. userscope:
  4668. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  4669. type: string
  4670. required:
  4671. - couponholdid
  4672. type: object
  4673. models.MyUsedCoupon:
  4674. properties:
  4675. accountid:
  4676. description: 资金账户ID(买方)
  4677. type: integer
  4678. conditionvalue:
  4679. description: 条件阈值(可为0)
  4680. type: number
  4681. couponcategroy:
  4682. description: 种类 - 1:现金券 2:折扣券
  4683. type: integer
  4684. couponname:
  4685. description: 优惠券名称
  4686. type: string
  4687. coupontypeid:
  4688. description: 优惠券类型ID(买方)
  4689. type: string
  4690. couponvalue:
  4691. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  4692. type: number
  4693. createtime:
  4694. description: 创建时间
  4695. type: string
  4696. goodsid:
  4697. description: 商品ID
  4698. type: integer
  4699. handlestatus:
  4700. description: 处理状态
  4701. type: integer
  4702. marketid:
  4703. description: 市场ID
  4704. type: integer
  4705. offamount:
  4706. description: 优惠金额
  4707. type: number
  4708. orderid:
  4709. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4710. type: string
  4711. sellaccountid:
  4712. description: 资金账户ID(卖方)
  4713. type: integer
  4714. tradeamount:
  4715. description: 成交金额
  4716. type: number
  4717. tradeid:
  4718. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4719. type: string
  4720. usedqty:
  4721. description: 使用数量
  4722. type: integer
  4723. required:
  4724. - coupontypeid
  4725. - orderid
  4726. type: object
  4727. models.OperationPrimaryMenu:
  4728. properties:
  4729. Children:
  4730. description: 二级功能菜单
  4731. items:
  4732. $ref: '#/definitions/models.OperationSecondaryMenu'
  4733. type: array
  4734. Key:
  4735. description: 菜单KEY
  4736. type: string
  4737. Label:
  4738. description: 菜单标题
  4739. type: string
  4740. type: object
  4741. models.OperationSecondaryMenu:
  4742. properties:
  4743. Key:
  4744. description: 菜单KEY
  4745. type: string
  4746. Label:
  4747. description: 菜单标题
  4748. type: string
  4749. TabList:
  4750. description: 三级功能菜单
  4751. items:
  4752. $ref: '#/definitions/models.OperationTabMenu'
  4753. type: array
  4754. type: object
  4755. models.OperationTabMenu:
  4756. properties:
  4757. Key:
  4758. description: 菜单KEY
  4759. type: string
  4760. Label:
  4761. description: 菜单标题
  4762. type: string
  4763. type: object
  4764. models.PendingAuditBizModel:
  4765. properties:
  4766. accountid:
  4767. description: 现货账户
  4768. type: string
  4769. areaname:
  4770. description: 所属部门
  4771. type: string
  4772. bizid:
  4773. description: 业务ID
  4774. type: string
  4775. bizname:
  4776. description: 业务名称
  4777. type: string
  4778. status:
  4779. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  4780. type: integer
  4781. type:
  4782. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  4783. type: integer
  4784. type: object
  4785. models.QuotePrimaryMenu:
  4786. properties:
  4787. Index:
  4788. description: 序号
  4789. type: integer
  4790. Key:
  4791. description: 键名
  4792. type: string
  4793. Name:
  4794. description: 菜单名称
  4795. type: string
  4796. SubMenus:
  4797. description: 子菜单
  4798. items:
  4799. $ref: '#/definitions/models.QuoteSecondaryMenu'
  4800. type: array
  4801. SubTitleType:
  4802. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  4803. type: integer
  4804. TradeModes:
  4805. description: 包含市场交易类型
  4806. type: string
  4807. type: object
  4808. models.QuoteSecondaryMenu:
  4809. properties:
  4810. ExExchangeCode:
  4811. description: 外部交易所代码
  4812. type: string
  4813. ExExchangeID:
  4814. description: 外部交易所ID
  4815. type: integer
  4816. GoodsGroupIDs:
  4817. description: 商品组ID列表
  4818. items:
  4819. type: integer
  4820. type: array
  4821. Index:
  4822. description: 序号
  4823. type: integer
  4824. MarketID:
  4825. description: 市场ID
  4826. type: integer
  4827. MenuTitle:
  4828. description: 菜单标题(市场名称或外部交易所名称)
  4829. type: string
  4830. TradeMode:
  4831. description: 交易模式
  4832. type: integer
  4833. type: object
  4834. models.SearchGoods:
  4835. properties:
  4836. goodscode:
  4837. description: 商品代码(内部)
  4838. type: string
  4839. goodsid:
  4840. description: 商品ID(自增ID SEQ_GOODS)
  4841. type: integer
  4842. goodsname:
  4843. description: 商品名称
  4844. type: string
  4845. marketid:
  4846. description: 所属市场ID
  4847. type: integer
  4848. marketname:
  4849. description: 市场名称
  4850. type: string
  4851. trademode:
  4852. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4853. 21:竞拍-大宗式 22:受托竞价
  4854. type: integer
  4855. required:
  4856. - goodscode
  4857. - goodsid
  4858. - goodsname
  4859. - marketid
  4860. - trademode
  4861. type: object
  4862. models.Szdz2imageconfig:
  4863. properties:
  4864. configid:
  4865. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  4866. type: integer
  4867. imagepath:
  4868. description: 图片
  4869. type: string
  4870. imagetype:
  4871. description: 类型 - 1:App首页轮播 2:我的
  4872. type: integer
  4873. sort:
  4874. description: 排序
  4875. type: integer
  4876. title:
  4877. description: 标题
  4878. type: string
  4879. url:
  4880. description: 链接
  4881. type: string
  4882. required:
  4883. - configid
  4884. type: object
  4885. models.Szdz3convertconfig:
  4886. properties:
  4887. canin:
  4888. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  4889. type: integer
  4890. canout:
  4891. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  4892. type: integer
  4893. converttype:
  4894. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  4895. 6:交易转花生米(不设置)
  4896. type: integer
  4897. createtime:
  4898. description: 创建时间
  4899. type: string
  4900. creatorid:
  4901. description: 创建人
  4902. type: integer
  4903. daymaxvalue:
  4904. description: 当日最大转入限制
  4905. type: number
  4906. freezedays:
  4907. description: 冻结天数 [5:花生米转交易]
  4908. type: integer
  4909. innergoodsid:
  4910. description: 内部商品ID[交易]
  4911. type: integer
  4912. inratio:
  4913. description: 目标值
  4914. type: integer
  4915. modifierid:
  4916. description: 修改人
  4917. type: integer
  4918. modifytime:
  4919. description: 修改时间
  4920. type: string
  4921. outergoodscode:
  4922. description: 外部商品代码[JD\PD]
  4923. type: string
  4924. outratio:
  4925. description: 源值
  4926. type: integer
  4927. pddecimalplace:
  4928. description: PD小数位
  4929. type: integer
  4930. timemaxvalue:
  4931. description: 单次最大转入限制
  4932. type: number
  4933. timeminvalue:
  4934. description: 单次最小转入限制
  4935. type: number
  4936. required:
  4937. - converttype
  4938. - innergoodsid
  4939. - outergoodscode
  4940. type: object
  4941. models.Szdz3searchwhitelist:
  4942. properties:
  4943. createtime:
  4944. description: 创建时间
  4945. type: string
  4946. creatorid:
  4947. description: 创建人
  4948. type: integer
  4949. modifierid:
  4950. description: 修改人
  4951. type: integer
  4952. modifytime:
  4953. description: 修改时间
  4954. type: string
  4955. userid:
  4956. description: 用户ID
  4957. type: integer
  4958. required:
  4959. - userid
  4960. type: object
  4961. models.Tablecolumnconfig:
  4962. properties:
  4963. aligntype:
  4964. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  4965. type: integer
  4966. autoid:
  4967. description: AutoID
  4968. type: integer
  4969. columnfield:
  4970. description: 列字段
  4971. type: string
  4972. columntitle:
  4973. description: 列Title
  4974. type: string
  4975. columnwidth:
  4976. description: 列宽
  4977. type: string
  4978. formatterstring:
  4979. description: 格式化字符
  4980. type: string
  4981. formattertype:
  4982. description: 格式化类型
  4983. type: string
  4984. groupname:
  4985. description: 表头分组名称
  4986. type: string
  4987. isshow:
  4988. description: 是否显示 - 0:不显示 1:显示
  4989. type: integer
  4990. needsummary:
  4991. description: 是否需要汇总 - 0:不需要 1:需要
  4992. type: integer
  4993. orderindex:
  4994. description: 顺序
  4995. type: integer
  4996. remark:
  4997. description: 备注
  4998. type: string
  4999. summarytype:
  5000. description: 汇总类型 - 1:加总 2:最后一个
  5001. type: integer
  5002. tablekey:
  5003. description: 列表Key
  5004. type: string
  5005. required:
  5006. - autoid
  5007. type: object
  5008. models.Useraccount:
  5009. properties:
  5010. accountname:
  5011. description: 账户名称(机构名称)
  5012. type: string
  5013. accountstatus:
  5014. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  5015. type: integer
  5016. auditremark:
  5017. description: 审核备注
  5018. type: string
  5019. audittime:
  5020. description: 审核时间
  5021. type: string
  5022. audituserid:
  5023. description: 审核人
  5024. type: integer
  5025. broker:
  5026. description: 所属经纪人ID
  5027. type: integer
  5028. canceltime:
  5029. description: 销户时间
  5030. type: string
  5031. canceluserid:
  5032. description: 销户人
  5033. type: integer
  5034. createtime:
  5035. description: 创建时间
  5036. type: string
  5037. creatorid:
  5038. description: 创建人
  5039. type: integer
  5040. hasauth:
  5041. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  5042. type: integer
  5043. isanonymous:
  5044. description: 是否匿名下单 - 0:否 1:是
  5045. type: integer
  5046. maxinvestornum:
  5047. description: 最大用户数(经纪会员下投资者个数)
  5048. type: integer
  5049. memberuserid:
  5050. description: 所属会员ID
  5051. type: integer
  5052. modifierid:
  5053. description: 修改人
  5054. type: integer
  5055. modifyremark:
  5056. description: 变更备注
  5057. type: string
  5058. modifystatus:
  5059. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  5060. type: integer
  5061. modifytime:
  5062. description: 修改时间
  5063. type: string
  5064. parentuserid:
  5065. description: 所属机构ID
  5066. type: integer
  5067. reckonaccountid:
  5068. description: 默认结算资金账号ID(机构分润使用) 作废
  5069. type: integer
  5070. refercount:
  5071. description: 推荐总人数
  5072. type: integer
  5073. refereeuserid:
  5074. description: 推荐人ID
  5075. type: integer
  5076. refernum:
  5077. description: 推荐码
  5078. type: string
  5079. subarealevelpath:
  5080. description: 子机构层级路径(逗号分隔,首尾加逗号)
  5081. type: string
  5082. userid:
  5083. description: 用户ID
  5084. type: integer
  5085. usertype:
  5086. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  5087. type: integer
  5088. required:
  5089. - userid
  5090. type: object
  5091. models.Userfavoritegoods:
  5092. properties:
  5093. goodsid:
  5094. description: 商品ID
  5095. type: integer
  5096. required:
  5097. - goodsid
  5098. type: object
  5099. models.Userinfo:
  5100. properties:
  5101. address:
  5102. description: 地址
  5103. type: string
  5104. attachment1:
  5105. description: 附件1
  5106. type: string
  5107. attachment2:
  5108. description: 附件2
  5109. type: string
  5110. bankaccount:
  5111. description: 银行帐号 (加密存储)
  5112. type: string
  5113. bankaccountname:
  5114. description: 收款人名称
  5115. type: string
  5116. bankcardfrontphotourl:
  5117. description: 银行卡正面照地址
  5118. type: string
  5119. bankid:
  5120. description: 银行编码
  5121. type: string
  5122. bankname:
  5123. description: 银行名称
  5124. type: string
  5125. biznature:
  5126. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  5127. type: integer
  5128. bizscope:
  5129. description: 企业经营范围(企业)
  5130. type: string
  5131. cardbackphotourl:
  5132. description: 证件背面图片地址
  5133. type: string
  5134. cardfrontphotourl:
  5135. description: 证件正面图片地址
  5136. type: string
  5137. cardnum:
  5138. description: 证件号码(加密存储)
  5139. type: string
  5140. cardtypeid:
  5141. description: 证件类型ID
  5142. type: integer
  5143. cityid:
  5144. description: 市
  5145. type: integer
  5146. company:
  5147. description: 公司(个人)
  5148. type: string
  5149. contactname:
  5150. description: 联系人
  5151. type: string
  5152. countryid:
  5153. description: 国家
  5154. type: integer
  5155. createtime:
  5156. description: 创建时间
  5157. type: string
  5158. creatorid:
  5159. description: 创建人
  5160. type: integer
  5161. customername:
  5162. description: 客户名称(企业名称)
  5163. type: string
  5164. districtid:
  5165. description: 地区
  5166. type: integer
  5167. email:
  5168. description: 邮件(加密存储)
  5169. type: string
  5170. fax:
  5171. description: 传真(加密存储)
  5172. type: string
  5173. halfbodyphotourl:
  5174. description: 半身照地址
  5175. type: string
  5176. hasencrypt:
  5177. description: 数据是否已加密 - 0:未加密 1:已加密
  5178. type: integer
  5179. headurl:
  5180. description: 头像地址
  5181. type: string
  5182. legalcardbackphotourl:
  5183. description: 法人身份证背面照地址
  5184. type: string
  5185. legalcardfrontphotourl:
  5186. description: 法人身份证正面照地址
  5187. type: string
  5188. legalpersonname:
  5189. description: 法人姓名(企业)
  5190. type: string
  5191. mobile:
  5192. description: 手机号码(加密存储)
  5193. type: string
  5194. mobile2:
  5195. description: 手机号码[明文-尚志]
  5196. type: string
  5197. modifierid:
  5198. description: 修改人
  5199. type: integer
  5200. modifiertime:
  5201. description: 修改时间
  5202. type: string
  5203. needinvoice:
  5204. description: 是否需要发票 - 0:不需要 1:需要
  5205. type: integer
  5206. nickname:
  5207. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  5208. type: string
  5209. openmode:
  5210. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  5211. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  5212. type: integer
  5213. otherurl:
  5214. description: 其它图片地址[使用分号分隔]
  5215. type: string
  5216. postalcode:
  5217. description: 邮政编码
  5218. type: string
  5219. provinceid:
  5220. description: 省
  5221. type: integer
  5222. qq:
  5223. description: QQ(加密存储
  5224. type: string
  5225. remark:
  5226. description: 备注
  5227. type: string
  5228. sex:
  5229. description: '用户性别 0: 女 1: 男'
  5230. type: integer
  5231. signpdfurl:
  5232. description: 签约pdf文件
  5233. type: string
  5234. telphone:
  5235. description: 联系电话(加密存储)
  5236. type: string
  5237. userid:
  5238. description: 用户ID
  5239. type: integer
  5240. userinfotype:
  5241. description: 用户信息类型 - 1:个人 2:企业
  5242. type: integer
  5243. userstatus:
  5244. description: 用户状态 - 1:正常 2:注销
  5245. type: integer
  5246. usertype:
  5247. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  5248. type: integer
  5249. wechat:
  5250. description: 微信(加密存储)
  5251. type: string
  5252. wskhinfo:
  5253. description: 开户申请信息(JSON)
  5254. type: string
  5255. required:
  5256. - userid
  5257. type: object
  5258. models.WRCategoryTree:
  5259. properties:
  5260. areauserid:
  5261. description: 所属机构
  5262. type: integer
  5263. categorydesc:
  5264. description: 类别描述
  5265. type: string
  5266. categoryid:
  5267. description: 类别ID(SEQ_WRCATEGORY)
  5268. type: integer
  5269. categoryname:
  5270. description: 类别名称
  5271. type: string
  5272. iconurl:
  5273. description: 图标地址
  5274. type: string
  5275. orderindex:
  5276. description: 顺序
  5277. type: integer
  5278. parentcategoryid:
  5279. description: 父类别ID
  5280. type: integer
  5281. subcategory:
  5282. description: 子分类
  5283. items:
  5284. $ref: '#/definitions/models.WRCategoryTree'
  5285. type: array
  5286. required:
  5287. - categoryid
  5288. type: object
  5289. models.WRSConverTDetail:
  5290. properties:
  5291. convertratio:
  5292. description: 套保系数
  5293. type: number
  5294. deliverygoodsid:
  5295. description: 现货品种ID
  5296. type: integer
  5297. middlegoodscode:
  5298. description: 套保品种代码
  5299. type: string
  5300. middlegoodsid:
  5301. description: 套保品种ID
  5302. type: integer
  5303. middlegoodsname:
  5304. description: 套保品种名称
  5305. type: string
  5306. modifytime:
  5307. description: 修改时间
  5308. type: string
  5309. wrstandardid:
  5310. description: 现货商品ID
  5311. type: integer
  5312. type: object
  5313. models.WRStandardInfo:
  5314. properties:
  5315. createtime:
  5316. description: 创建时间
  5317. type: string
  5318. creatorid:
  5319. description: 创建人
  5320. type: integer
  5321. deliverygoodsid:
  5322. description: 品种ID
  5323. type: integer
  5324. deliverygoodsname:
  5325. description: 交割商品名称
  5326. type: string
  5327. factoryitemjson:
  5328. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  5329. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  5330. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  5331. 逗号分隔'
  5332. type: string
  5333. isvalid:
  5334. description: 是否有效 - 0:无效 1:有效
  5335. type: integer
  5336. minivalue:
  5337. description: 最小变动值
  5338. type: integer
  5339. minivaluedp:
  5340. description: 最小变动值小数位
  5341. type: integer
  5342. realminivalue:
  5343. description: 实际最小变动值
  5344. type: integer
  5345. realminivaluedp:
  5346. description: 实际最小变动值小数位
  5347. type: integer
  5348. unitid:
  5349. description: 单位ID
  5350. type: integer
  5351. unitname:
  5352. description: 单位
  5353. type: string
  5354. updatetime:
  5355. description: 更新时间
  5356. type: string
  5357. updatorid:
  5358. description: 更新人
  5359. type: integer
  5360. wrsstatus:
  5361. description: 状态 - 作废 - 0:未激活 1:正常
  5362. type: integer
  5363. wrstandardcode:
  5364. description: 仓单标准代码
  5365. type: string
  5366. wrstandardid:
  5367. description: 仓单标准ID(SEQ_WRSTANDARD)
  5368. type: integer
  5369. wrstandardname:
  5370. description: 仓单标准名称
  5371. type: string
  5372. required:
  5373. - wrstandardid
  5374. type: object
  5375. models.Warehouseinfo:
  5376. properties:
  5377. address:
  5378. description: 详细地址
  5379. type: string
  5380. areauserid:
  5381. description: 所属机构
  5382. type: integer
  5383. autoid:
  5384. description: 自增ID
  5385. type: integer
  5386. cityid:
  5387. description: 市
  5388. type: integer
  5389. contactname:
  5390. description: 联系人
  5391. type: string
  5392. contactnum:
  5393. description: 联系电话
  5394. type: string
  5395. countryid:
  5396. description: 国家
  5397. type: integer
  5398. createtime:
  5399. description: 创建时间
  5400. type: string
  5401. districtid:
  5402. description: 区
  5403. type: integer
  5404. hasvideo:
  5405. description: 是否有视频 - 0:无 1:有
  5406. type: integer
  5407. provinceid:
  5408. description: 省
  5409. type: integer
  5410. remark:
  5411. description: 审核备注
  5412. type: string
  5413. videourl:
  5414. description: 视频地址
  5415. type: string
  5416. warehousecode:
  5417. description: 仓库代码
  5418. type: string
  5419. warehousename:
  5420. description: 仓库名称
  5421. type: string
  5422. warehousestatus:
  5423. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  5424. type: integer
  5425. warehousetype:
  5426. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  5427. type: integer
  5428. required:
  5429. - autoid
  5430. - warehousecode
  5431. type: object
  5432. order.QueryHisTradeDetailRsp:
  5433. properties:
  5434. accountid:
  5435. description: 账户ID[报价币种]
  5436. type: integer
  5437. buildtype:
  5438. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  5439. type: integer
  5440. buyorsell:
  5441. description: 方向 - 0:买 1:卖
  5442. type: integer
  5443. charge:
  5444. description: 手续费
  5445. type: number
  5446. closecharge:
  5447. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  5448. type: number
  5449. closeexchagechargevalue:
  5450. description: 平仓交易所手续费设置值
  5451. type: number
  5452. closefeealgorithm:
  5453. description: 平仓手续费收取方式 1:比率 2:固定
  5454. type: integer
  5455. closememberchargevalue:
  5456. description: 平仓会员手续费设置值
  5457. type: number
  5458. closepl:
  5459. description: 平仓盈亏
  5460. type: number
  5461. closepl2:
  5462. description: 平仓盈亏[逐笔]
  5463. type: number
  5464. closeqty:
  5465. description: 平仓数量(先建后平操作 需要记录)
  5466. type: integer
  5467. creditamount:
  5468. description: 授信金额
  5469. type: number
  5470. gcaccountid:
  5471. description: 账户ID[合约币种]
  5472. type: integer
  5473. goodscode:
  5474. description: 商品代码
  5475. type: string
  5476. goodsid:
  5477. description: 商品ID
  5478. type: integer
  5479. goodsname:
  5480. description: 商品名称
  5481. type: string
  5482. histradedate:
  5483. description: 历史交易日
  5484. type: string
  5485. intclosepl:
  5486. description: 整型盈亏(用于交易结算试算平衡-收益权)
  5487. type: integer
  5488. isconfirmexercise:
  5489. description: 是否确认行权- 0:否 1:是
  5490. type: integer
  5491. ismain:
  5492. description: 是否主单 - 0:不是 1:是
  5493. type: integer
  5494. ispreexercise:
  5495. description: 是否预申报- 0:否 1:是
  5496. type: integer
  5497. isreckoned:
  5498. description: 是否结算 - 0:未结算 1:已结算
  5499. type: integer
  5500. isvaliddata:
  5501. description: 是否有效 - 0:无效 1:有效
  5502. type: integer
  5503. listingselecttype:
  5504. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  5505. type: integer
  5506. marketid:
  5507. description: 市场ID
  5508. type: integer
  5509. marketname:
  5510. description: 市场名称
  5511. type: string
  5512. matchaccountid:
  5513. description: 对手账号id
  5514. type: integer
  5515. memberuserid:
  5516. description: 会员id 个人投资者 需要填写
  5517. type: integer
  5518. opencharge:
  5519. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  5520. type: number
  5521. openexchagechargevalue:
  5522. description: 建仓交易所手续费设置值
  5523. type: number
  5524. openfeealgorithm:
  5525. description: 建仓手续费收取方式 1:比率 2:固定
  5526. type: integer
  5527. openmemberchargevalue:
  5528. description: 建仓会员手续费设置值
  5529. type: number
  5530. openqty:
  5531. description: 开仓数量(先建后平操作 需要记录)
  5532. type: integer
  5533. optiontype:
  5534. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  5535. type: integer
  5536. orderid:
  5537. description: 委托单号
  5538. type: string
  5539. performanceplanid:
  5540. description: 履约计划ID[期权]
  5541. type: integer
  5542. performancestatus:
  5543. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  5544. type: integer
  5545. preexerciseprice:
  5546. description: 预申报价格
  5547. type: number
  5548. premium:
  5549. description: 权利金 - [持仓单的权利金]
  5550. type: number
  5551. relatedouttradeid:
  5552. description: 关联外部成交单ID
  5553. type: integer
  5554. status:
  5555. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  5556. type: integer
  5557. tradeamount:
  5558. description: 成交金额[账户币种,用于所有权]
  5559. type: number
  5560. tradedate:
  5561. description: 交易日(yyyyMMdd)
  5562. type: string
  5563. tradeid:
  5564. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5565. type: string
  5566. trademode:
  5567. description: 交易模式
  5568. type: integer
  5569. tradeprice:
  5570. description: 成交价格
  5571. type: number
  5572. tradeproperty:
  5573. description: 交易属性
  5574. type: integer
  5575. tradeqty:
  5576. description: 成交数量
  5577. type: integer
  5578. tradetime:
  5579. description: 成交时间
  5580. type: string
  5581. tradetype:
  5582. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  5583. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  5584. type: integer
  5585. required:
  5586. - accountid
  5587. - buyorsell
  5588. - goodsid
  5589. - histradedate
  5590. - marketid
  5591. - memberuserid
  5592. - orderid
  5593. - tradeamount
  5594. - tradedate
  5595. - tradeid
  5596. - tradeprice
  5597. - tradeqty
  5598. - tradetime
  5599. type: object
  5600. order.QueryHisTradeOrderDetailRsp:
  5601. properties:
  5602. accountid:
  5603. description: 账户ID[报价币种]
  5604. type: integer
  5605. buildtype:
  5606. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  5607. type: integer
  5608. buyorsell:
  5609. description: 买卖 - 0:买 1:卖
  5610. type: integer
  5611. cancelorderid:
  5612. description: 撤单单号(撤单时填写)
  5613. type: string
  5614. cancelqty:
  5615. description: 撤单数量
  5616. type: integer
  5617. clientordertime:
  5618. description: 客户端委托时间
  5619. type: string
  5620. clientticket:
  5621. description: 客户端流水号
  5622. type: string
  5623. clienttype:
  5624. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  5625. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  5626. type: integer
  5627. closeexchagechargevalue:
  5628. description: 平仓交易所手续费设置值
  5629. type: number
  5630. closefeealgorithm:
  5631. description: 平仓手续费收取方式 1:比率 2:固定
  5632. type: integer
  5633. closefreezecharge:
  5634. description: 平仓冻结手续费(先建后平操作,需要记录)
  5635. type: number
  5636. closememberchargevalue:
  5637. description: 平仓会员手续费设置值
  5638. type: number
  5639. closeqty:
  5640. description: 平仓数量(先建后平操作 需要记录)
  5641. type: integer
  5642. closetradeqty:
  5643. description: 平仓成交数量(先建后平操作,需要记录)
  5644. type: integer
  5645. closeunfreezecharge:
  5646. description: 平仓解冻手续费(先建后平操作,需要记录)
  5647. type: number
  5648. delistingtype:
  5649. description: 摘牌类型 - 1:价格最优 2:点选成交
  5650. type: integer
  5651. freezecharge:
  5652. description: 冻结手续费
  5653. type: number
  5654. freezemargin:
  5655. description: 冻结保证金(冻结交易金额)
  5656. type: number
  5657. gcaccountid:
  5658. description: 账户ID[合约币种]
  5659. type: integer
  5660. goodscode:
  5661. description: 商品代码
  5662. type: string
  5663. goodsid:
  5664. description: 商品ID
  5665. type: integer
  5666. goodsname:
  5667. description: 商品名称
  5668. type: string
  5669. histradedate:
  5670. description: 历史交易日
  5671. type: string
  5672. isconfirmexercise:
  5673. description: 是否确认行权- 0:否 1:是
  5674. type: integer
  5675. ispreexercise:
  5676. description: 是否预申报- 0:否 1:是
  5677. type: integer
  5678. isvaliddata:
  5679. description: 是否有效 - 0:无效 1:有效
  5680. type: integer
  5681. listingselecttype:
  5682. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  5683. type: integer
  5684. marginalgorithm:
  5685. description: 保证金收取方式 1:比率 2:固定
  5686. type: integer
  5687. marginvalue:
  5688. description: 即市保证金设置值
  5689. type: number
  5690. marketid:
  5691. description: 市场ID
  5692. type: integer
  5693. marketmaxsub:
  5694. description: 市价最大偏移范围
  5695. type: number
  5696. marketname:
  5697. description: 市场名称
  5698. type: string
  5699. memberuserid:
  5700. description: 所属会员UserID
  5701. type: integer
  5702. openexchagechargevalue:
  5703. description: 建仓交易所手续费设置值
  5704. type: number
  5705. openfeealgorithm:
  5706. description: 建仓手续费收取方式 1:比率 2:固定
  5707. type: integer
  5708. openfreezecharge:
  5709. description: 开仓冻结手续费(先建后平操作,需要记录)
  5710. type: number
  5711. openmemberchargevalue:
  5712. description: 建仓会员手续费设置值
  5713. type: number
  5714. openqty:
  5715. description: 开仓数量(先建后平操作,需要记录)
  5716. type: integer
  5717. opentradeqty:
  5718. description: 开仓成交数量(先建后平操作,需要记录)
  5719. type: integer
  5720. openunfreezecharge:
  5721. description: 开仓解冻手续费(先建后平操作,需要记录)
  5722. type: number
  5723. operatetype:
  5724. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  5725. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  5726. 15:管理端协议转让
  5727. type: integer
  5728. operatorid:
  5729. description: 登录账号(LoginID)
  5730. type: integer
  5731. optiontype:
  5732. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  5733. type: integer
  5734. orderid:
  5735. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5736. type: string
  5737. orderprice:
  5738. description: 委托价格
  5739. type: number
  5740. orderqty:
  5741. description: 委托数量
  5742. type: integer
  5743. ordersrc:
  5744. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  5745. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  5746. type: integer
  5747. orderstatus:
  5748. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  5749. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  5750. 16:成交失败违约(荷兰式竞拍专用)
  5751. type: integer
  5752. ordertime:
  5753. description: 委托时间
  5754. type: string
  5755. preexerciseprice:
  5756. description: 预申报价格
  5757. type: number
  5758. premium:
  5759. description: 权利金
  5760. type: number
  5761. preorderid:
  5762. description: 关联预埋单号(止盈止损单时填写)
  5763. type: string
  5764. pricemode:
  5765. description: '取价方式 - 1:市价 2: 限价'
  5766. type: integer
  5767. quoteid:
  5768. description: 报价单ID
  5769. type: integer
  5770. relatedid:
  5771. description: 关联单号(交割单)
  5772. type: string
  5773. retcode:
  5774. description: 错误代码
  5775. type: integer
  5776. sessionid:
  5777. description: 会话ID
  5778. type: integer
  5779. tradedate:
  5780. description: 交易日(yyyyMMdd)
  5781. type: string
  5782. trademode:
  5783. description: 交易模式
  5784. type: integer
  5785. tradeproperty:
  5786. description: 交易属性
  5787. type: integer
  5788. tradeqty:
  5789. description: 成交数量
  5790. type: integer
  5791. unfreezecharge:
  5792. description: 解冻手续费
  5793. type: number
  5794. unfreezemargin:
  5795. description: 解冻保证金
  5796. type: number
  5797. updatetime:
  5798. description: 更新时间
  5799. type: string
  5800. uuid:
  5801. description: 发起端唯一id
  5802. type: string
  5803. validtime:
  5804. description: 有效期限
  5805. type: string
  5806. validtype:
  5807. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  5808. type: integer
  5809. volumetype:
  5810. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  5811. type: integer
  5812. required:
  5813. - accountid
  5814. - buildtype
  5815. - buyorsell
  5816. - goodsid
  5817. - histradedate
  5818. - marketid
  5819. - memberuserid
  5820. - operatetype
  5821. - orderid
  5822. - orderqty
  5823. - ordertime
  5824. - pricemode
  5825. - tradedate
  5826. - validtype
  5827. type: object
  5828. order.QueryTradeDetailRsp:
  5829. properties:
  5830. accountid:
  5831. description: 账户ID[报价币种]
  5832. type: integer
  5833. buildtype:
  5834. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  5835. type: integer
  5836. buyorsell:
  5837. description: 方向 - 0:买 1:卖
  5838. type: integer
  5839. charge:
  5840. description: 手续费
  5841. type: number
  5842. closecharge:
  5843. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  5844. type: number
  5845. closeexchagechargevalue:
  5846. description: 平仓交易所手续费设置值
  5847. type: number
  5848. closefeealgorithm:
  5849. description: 平仓手续费收取方式 1:比率 2:固定
  5850. type: integer
  5851. closememberchargevalue:
  5852. description: 平仓会员手续费设置值
  5853. type: number
  5854. closepl:
  5855. description: 平仓盈亏
  5856. type: number
  5857. closepl2:
  5858. description: 平仓盈亏[逐笔]
  5859. type: number
  5860. closeqty:
  5861. description: 平仓数量(先建后平操作 需要记录)
  5862. type: integer
  5863. creditamount:
  5864. description: 授信金额
  5865. type: number
  5866. gcaccountid:
  5867. description: 账户ID[合约币种]
  5868. type: integer
  5869. goodscode:
  5870. description: 商品代码
  5871. type: string
  5872. goodsid:
  5873. description: 商品ID
  5874. type: integer
  5875. goodsname:
  5876. description: 商品名称
  5877. type: string
  5878. intclosepl:
  5879. description: 整型盈亏(用于交易结算试算平衡-收益权)
  5880. type: integer
  5881. isconfirmexercise:
  5882. description: 是否确认行权- 0:否 1:是
  5883. type: integer
  5884. ismain:
  5885. description: 是否主单 - 0:不是 1:是
  5886. type: integer
  5887. ispreexercise:
  5888. description: 是否预申报- 0:否 1:是
  5889. type: integer
  5890. isreckoned:
  5891. description: 是否结算 - 0:未结算 1:已结算
  5892. type: integer
  5893. listingselecttype:
  5894. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  5895. type: integer
  5896. marketid:
  5897. description: 市场ID
  5898. type: integer
  5899. marketname:
  5900. description: 市场名称
  5901. type: string
  5902. matchaccountid:
  5903. description: 对手账号id
  5904. type: integer
  5905. memberuserid:
  5906. description: 会员id 个人投资者 需要填写
  5907. type: integer
  5908. opencharge:
  5909. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  5910. type: number
  5911. openexchagechargevalue:
  5912. description: 建仓交易所手续费设置值
  5913. type: number
  5914. openfeealgorithm:
  5915. description: 建仓手续费收取方式 1:比率 2:固定
  5916. type: integer
  5917. openmemberchargevalue:
  5918. description: 建仓会员手续费设置值
  5919. type: number
  5920. openqty:
  5921. description: 开仓数量(先建后平操作 需要记录)
  5922. type: integer
  5923. optiontype:
  5924. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  5925. type: integer
  5926. orderid:
  5927. description: 委托单号
  5928. type: string
  5929. performanceplanid:
  5930. description: 履约计划ID[期权]
  5931. type: integer
  5932. performancestatus:
  5933. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  5934. type: integer
  5935. preexerciseprice:
  5936. description: 预申报价格
  5937. type: number
  5938. premium:
  5939. description: 权利金 - [持仓单的权利金]
  5940. type: number
  5941. relatedouttradeid:
  5942. description: 关联外部成交单ID
  5943. type: integer
  5944. status:
  5945. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  5946. type: integer
  5947. tradeamount:
  5948. description: 成交金额[账户币种,用于所有权]
  5949. type: number
  5950. tradedate:
  5951. description: 交易日(yyyyMMdd)
  5952. type: string
  5953. tradeid:
  5954. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5955. type: string
  5956. trademode:
  5957. description: 交易模式
  5958. type: integer
  5959. tradeprice:
  5960. description: 成交价格
  5961. type: number
  5962. tradeproperty:
  5963. description: 交易属性
  5964. type: integer
  5965. tradeqty:
  5966. description: 成交数量
  5967. type: integer
  5968. tradetime:
  5969. description: 成交时间
  5970. type: string
  5971. tradetype:
  5972. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  5973. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  5974. type: integer
  5975. required:
  5976. - accountid
  5977. - buyorsell
  5978. - goodsid
  5979. - marketid
  5980. - memberuserid
  5981. - orderid
  5982. - tradeamount
  5983. - tradedate
  5984. - tradeid
  5985. - tradeprice
  5986. - tradeqty
  5987. - tradetime
  5988. type: object
  5989. order.QueryTradeOrderDetailRsp:
  5990. properties:
  5991. accountid:
  5992. description: 账户ID[报价币种]
  5993. type: integer
  5994. buildtype:
  5995. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  5996. type: integer
  5997. buyorsell:
  5998. description: 买卖 - 0:买 1:卖
  5999. type: integer
  6000. cancelorderid:
  6001. description: 撤单单号(撤单时填写)
  6002. type: string
  6003. cancelqty:
  6004. description: 撤单数量
  6005. type: integer
  6006. clienttype:
  6007. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  6008. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  6009. type: integer
  6010. closefreezecharge:
  6011. description: 平仓冻结手续费(先建后平操作,需要记录)
  6012. type: number
  6013. closeqty:
  6014. description: 平仓数量(先建后平操作 需要记录)
  6015. type: integer
  6016. closetradeqty:
  6017. description: 平仓成交数量(先建后平操作,需要记录)
  6018. type: integer
  6019. closeunfreezecharge:
  6020. description: 平仓解冻手续费(先建后平操作,需要记录)
  6021. type: number
  6022. delistingtype:
  6023. description: 摘牌类型 - 1:价格最优 2:点选成交
  6024. type: integer
  6025. enableqty:
  6026. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  6027. type: integer
  6028. freezecharge:
  6029. description: 冻结手续费
  6030. type: number
  6031. freezemargin:
  6032. description: 冻结保证金(冻结交易金额)
  6033. type: number
  6034. goodscode:
  6035. description: 商品代码
  6036. type: string
  6037. goodsid:
  6038. description: 商品ID
  6039. type: integer
  6040. goodsname:
  6041. description: 商品名称
  6042. type: string
  6043. listingselecttype:
  6044. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  6045. type: integer
  6046. marketid:
  6047. description: 市场ID
  6048. type: integer
  6049. marketname:
  6050. description: 市场名称
  6051. type: string
  6052. openfreezecharge:
  6053. description: 开仓冻结手续费(先建后平操作,需要记录)
  6054. type: number
  6055. openqty:
  6056. description: 开仓数量(先建后平操作,需要记录)
  6057. type: integer
  6058. opentradeqty:
  6059. description: 开仓成交数量(先建后平操作,需要记录)
  6060. type: integer
  6061. openunfreezecharge:
  6062. description: 开仓解冻手续费(先建后平操作,需要记录)
  6063. type: number
  6064. operatetype:
  6065. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  6066. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  6067. 15:管理端协议转让
  6068. type: integer
  6069. operatorid:
  6070. description: 登录账号(LoginID)
  6071. type: integer
  6072. orderid:
  6073. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6074. type: string
  6075. orderprice:
  6076. description: 委托价格
  6077. type: number
  6078. orderqty:
  6079. description: 委托数量
  6080. type: integer
  6081. ordersrc:
  6082. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  6083. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  6084. type: integer
  6085. orderstatus:
  6086. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  6087. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  6088. 16:成交失败违约(荷兰式竞拍专用)
  6089. type: integer
  6090. ordertime:
  6091. description: 委托时间
  6092. type: string
  6093. preorderid:
  6094. description: 关联预埋单号(止盈止损单时填写)
  6095. type: string
  6096. pricemode:
  6097. description: '取价方式 - 1:市价 2: 限价'
  6098. type: integer
  6099. relatedid:
  6100. description: 关联单号(交割单)
  6101. type: string
  6102. tradedate:
  6103. description: 交易日(yyyyMMdd)
  6104. type: string
  6105. trademode:
  6106. description: 交易模式
  6107. type: integer
  6108. tradeqty:
  6109. description: 成交数量
  6110. type: integer
  6111. unfreezecharge:
  6112. description: 解冻手续费
  6113. type: number
  6114. unfreezemargin:
  6115. description: 解冻保证金
  6116. type: number
  6117. validtime:
  6118. description: 有效期限
  6119. type: string
  6120. validtype:
  6121. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  6122. type: integer
  6123. volumetype:
  6124. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  6125. type: integer
  6126. required:
  6127. - accountid
  6128. - buildtype
  6129. - buyorsell
  6130. - goodsid
  6131. - marketid
  6132. - operatetype
  6133. - orderqty
  6134. - ordertime
  6135. - pricemode
  6136. - tradedate
  6137. - validtype
  6138. type: object
  6139. order.QueryTradePositionRsp:
  6140. properties:
  6141. accountid:
  6142. description: 资金账户
  6143. type: integer
  6144. agreeunit:
  6145. description: 合约单位
  6146. type: number
  6147. averageprice:
  6148. description: 持仓均价
  6149. type: number
  6150. buyorsell:
  6151. description: 方向 - 0:买 1:卖
  6152. type: integer
  6153. closetotalqty:
  6154. description: 平仓总数量
  6155. type: integer
  6156. curholderamount:
  6157. description: 当前持仓总金额[商品币种]
  6158. type: number
  6159. curpositionqty:
  6160. description: 当前持仓总数量
  6161. type: integer
  6162. currencyid:
  6163. description: 报价货币ID
  6164. type: integer
  6165. curtdposition:
  6166. description: 期末今日头寸
  6167. type: integer
  6168. decimalplace:
  6169. description: 报价小数位
  6170. type: integer
  6171. enableqty:
  6172. description: 可用量
  6173. type: integer
  6174. fretdposition:
  6175. description: 冻结今日头寸
  6176. type: integer
  6177. frozenqty:
  6178. description: 持仓冻结数量
  6179. type: integer
  6180. goodscode:
  6181. description: 商品代码
  6182. type: string
  6183. goodsid:
  6184. description: 商品Id
  6185. type: integer
  6186. goodsname:
  6187. description: 商品名称
  6188. type: string
  6189. goodunit:
  6190. description: 报价单位
  6191. type: string
  6192. goodunitid:
  6193. description: 报价单位ID
  6194. type: integer
  6195. holderamount:
  6196. description: 期初持仓总金额[商品币种]
  6197. type: number
  6198. marketid:
  6199. description: 所属市场ID
  6200. type: integer
  6201. openreqqty:
  6202. description: 开仓申请数量(用于比较最大持仓数量)
  6203. type: integer
  6204. opentotalqty:
  6205. description: 开仓总数量
  6206. type: integer
  6207. otherfrozenqty:
  6208. description: 持仓其他冻结数量(交割冻结)
  6209. type: integer
  6210. positionqty:
  6211. description: 期初持仓数量
  6212. type: integer
  6213. tnqty:
  6214. description: T+N冻结总量
  6215. type: integer
  6216. tnusedqty:
  6217. description: T+N使用量(可以使用T+N的冻结数量)
  6218. type: integer
  6219. trademode:
  6220. description: 交易模式
  6221. type: integer
  6222. usedmargin:
  6223. description: 占用保证金[商品币种]
  6224. type: number
  6225. required:
  6226. - goodsid
  6227. type: object
  6228. quote.HistoryData:
  6229. properties:
  6230. c:
  6231. description: 收盘价
  6232. type: number
  6233. h:
  6234. description: 最高价
  6235. type: number
  6236. hv:
  6237. description: 持仓量
  6238. type: integer
  6239. l:
  6240. description: 最低价
  6241. type: number
  6242. o:
  6243. description: 开盘价
  6244. type: number
  6245. s:
  6246. description: 结算价,日线周期(包括)以上才有
  6247. type: number
  6248. ts:
  6249. description: 时间
  6250. type: string
  6251. tt:
  6252. description: 总金额
  6253. type: number
  6254. tv:
  6255. description: 总量
  6256. type: integer
  6257. type: object
  6258. quote.QueryTSDataRsp:
  6259. properties:
  6260. decimalPlace:
  6261. description: 小数位
  6262. type: integer
  6263. endTime:
  6264. description: 结束时间
  6265. type: string
  6266. goodsCode:
  6267. description: 商品代码
  6268. type: string
  6269. historyDatas:
  6270. description: 历史数据
  6271. items:
  6272. $ref: '#/definitions/quote.HistoryData'
  6273. type: array
  6274. preSettle:
  6275. description: 昨结
  6276. type: number
  6277. startTime:
  6278. description: 开始时间
  6279. type: string
  6280. tradeDate:
  6281. description: 交易日
  6282. type: string
  6283. type: object
  6284. szdz.QueryConvertLogRsp:
  6285. properties:
  6286. accountid:
  6287. description: 资金账户ID
  6288. type: integer
  6289. clientticket:
  6290. description: 客户端流水号
  6291. type: string
  6292. converttype:
  6293. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  6294. type: integer
  6295. createtime:
  6296. description: 记账时间
  6297. type: string
  6298. daymaxvalue:
  6299. description: 配置当日最大转入限制
  6300. type: number
  6301. daymaxvalue2:
  6302. description: 配置当日最大转入限制(转入)
  6303. type: number
  6304. goodscode:
  6305. description: 商品代码
  6306. type: string
  6307. goodsname:
  6308. description: 商品名称
  6309. type: string
  6310. handlestatus:
  6311. description: 处理状态
  6312. type: integer
  6313. innergoodsid:
  6314. description: 内部商品ID
  6315. type: integer
  6316. inratio:
  6317. description: 配置转入比值
  6318. type: integer
  6319. invalue:
  6320. description: 目标值
  6321. type: number
  6322. logid:
  6323. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6324. type: integer
  6325. mobile:
  6326. description: 手机号码(加密存储)
  6327. type: string
  6328. outergoodscode:
  6329. description: 外部商品代码[JD\PD]
  6330. type: string
  6331. outratio:
  6332. description: 配置转出比值
  6333. type: integer
  6334. outvalue:
  6335. description: 源值
  6336. type: number
  6337. pddecimalplace:
  6338. description: PD小数位
  6339. type: integer
  6340. qty:
  6341. description: 数量
  6342. type: string
  6343. remark:
  6344. description: 备注
  6345. type: string
  6346. sessionid:
  6347. description: 会话ID
  6348. type: integer
  6349. timemaxvalue:
  6350. description: 配置单次最大转入限制
  6351. type: number
  6352. timemaxvalue2:
  6353. description: 配置单次最大转入限制(转入)
  6354. type: number
  6355. timeminvalue:
  6356. description: 配置单次最小数量限制
  6357. type: number
  6358. timeminvalue2:
  6359. description: 配置单次最小数量限制(转入)
  6360. type: number
  6361. tradedate:
  6362. description: 交易日(yyyyMMdd)
  6363. type: string
  6364. userid:
  6365. description: 用户ID
  6366. type: integer
  6367. required:
  6368. - logid
  6369. type: object
  6370. szdz.QueryGoodsPickupRsp:
  6371. properties:
  6372. accountid:
  6373. description: 账户ID
  6374. type: integer
  6375. address:
  6376. description: 提货人详细地址
  6377. type: string
  6378. auditer:
  6379. description: 审核人
  6380. type: integer
  6381. audittime:
  6382. description: 审核时间
  6383. type: string
  6384. cardnum:
  6385. description: 提货人证件号码
  6386. type: string
  6387. cardtypeid:
  6388. description: 提货人证件类型
  6389. type: integer
  6390. checkremark:
  6391. description: 审核备注
  6392. type: string
  6393. goodscode:
  6394. description: 商品代码
  6395. type: string
  6396. goodsid:
  6397. description: 商品ID
  6398. type: integer
  6399. goodsname:
  6400. description: 商品名称
  6401. type: string
  6402. handlestatus:
  6403. description: 处理状态
  6404. type: integer
  6405. marketid:
  6406. description: 市场ID
  6407. type: integer
  6408. phonenum:
  6409. description: 提货人联系方式
  6410. type: string
  6411. qty:
  6412. description: 提货数量
  6413. type: number
  6414. recivername:
  6415. description: 提货人姓名
  6416. type: string
  6417. reqtime:
  6418. description: 更新时间
  6419. type: string
  6420. takemode:
  6421. description: 提货方式 - 2:自提 3:配送
  6422. type: integer
  6423. takeorderid:
  6424. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  6425. type: string
  6426. takeorderstatus:
  6427. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  6428. type: integer
  6429. takeremark:
  6430. description: 提货备注
  6431. type: string
  6432. tradedate:
  6433. description: 交易日(yyyyMMdd)
  6434. type: string
  6435. userid:
  6436. description: 用户ID
  6437. type: integer
  6438. required:
  6439. - takeorderid
  6440. type: object
  6441. szdz.QueryRecieptOrderRsp:
  6442. properties:
  6443. accountName:
  6444. description: 所属账号名称(已脱敏)
  6445. type: string
  6446. accountid:
  6447. description: 资金账号
  6448. type: integer
  6449. buyorsell:
  6450. description: 方向 - 0:买 1:卖
  6451. type: integer
  6452. enableqty:
  6453. description: 可摘数量
  6454. type: integer
  6455. goodscode:
  6456. description: 商品代码
  6457. type: string
  6458. goodsid:
  6459. description: 商品ID
  6460. type: integer
  6461. goodsname:
  6462. description: 商品名称
  6463. type: string
  6464. orderid:
  6465. description: 委托单号
  6466. type: string
  6467. orderprice:
  6468. description: 委托价格
  6469. type: number
  6470. ordertime:
  6471. description: 委托时间
  6472. type: string
  6473. tradedate:
  6474. description: 交易日(yyyyMMdd)
  6475. type: string
  6476. required:
  6477. - ordertime
  6478. type: object
  6479. szdz.QuerySZDZTradePositionRsp:
  6480. properties:
  6481. accountid:
  6482. description: 账号Id
  6483. type: integer
  6484. agreeunit:
  6485. description: 合约单位
  6486. type: number
  6487. averageprice:
  6488. description: 持仓均价
  6489. type: number
  6490. buyorsell:
  6491. description: 方向 - 0:买 1:卖
  6492. type: integer
  6493. closetotalqty:
  6494. description: 平仓总数量
  6495. type: integer
  6496. curholderamount:
  6497. description: 当前持仓总金额
  6498. type: number
  6499. curpositionqty:
  6500. description: 当前持仓总数量
  6501. type: integer
  6502. currencyid:
  6503. description: 报价货币ID
  6504. type: integer
  6505. curtdposition:
  6506. description: 期末今日头寸
  6507. type: integer
  6508. decimalplace:
  6509. description: 报价小数位
  6510. type: integer
  6511. enableqty:
  6512. description: 可用量
  6513. type: integer
  6514. fretdposition:
  6515. description: 冻结今日头寸
  6516. type: integer
  6517. frozenqty:
  6518. description: 持仓冻结数量
  6519. type: integer
  6520. goodscode:
  6521. description: 商品代码(内部)
  6522. type: string
  6523. goodsid:
  6524. description: 商品Id
  6525. type: integer
  6526. goodsname:
  6527. description: 商品名称
  6528. type: string
  6529. goodunit:
  6530. description: 报价单位
  6531. type: string
  6532. goodunitid:
  6533. description: 报价单位ID
  6534. type: integer
  6535. holderamount:
  6536. description: 期初持仓总金额
  6537. type: number
  6538. marketid:
  6539. description: 市场ID
  6540. type: integer
  6541. openreqqty:
  6542. description: 开仓申请数量
  6543. type: integer
  6544. opentotalqty:
  6545. description: 开仓总数量
  6546. type: integer
  6547. otherfrozenqty:
  6548. description: 持仓其他冻结数量(交割冻结)
  6549. type: integer
  6550. positionqty:
  6551. description: 期初持仓数量
  6552. type: integer
  6553. szdz3freezqty:
  6554. description: 尚志大宗转换冻结总数量
  6555. type: integer
  6556. tnqty:
  6557. description: T+N冻结总量
  6558. type: integer
  6559. tnusedqty:
  6560. description: T+N使用量
  6561. type: integer
  6562. trademode:
  6563. description: 交易模式
  6564. type: integer
  6565. usedmargin:
  6566. description: 占用保证金
  6567. type: number
  6568. type: object
  6569. taaccount.QueryAmountLogRsp:
  6570. properties:
  6571. OPERATETYPENAME:
  6572. description: 资金操作类型名称
  6573. type: string
  6574. accountid:
  6575. description: 资金账户ID
  6576. type: integer
  6577. agoodscode:
  6578. description: 竞拍商品代码
  6579. type: string
  6580. agoodsname:
  6581. description: 竞拍商品名称
  6582. type: string
  6583. amount:
  6584. description: 资金金额
  6585. type: number
  6586. amountadjusttype:
  6587. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  6588. type: integer
  6589. autoid:
  6590. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  6591. type: integer
  6592. balance:
  6593. description: 期初余额
  6594. type: number
  6595. businesscode:
  6596. description: 业务编号
  6597. type: integer
  6598. createtime:
  6599. description: 发生时间
  6600. type: string
  6601. currencyid:
  6602. description: 币种ID
  6603. type: integer
  6604. currentbalance:
  6605. description: 期末余额(变动后金额)
  6606. type: number
  6607. dgoodscode:
  6608. description: 交割商品代码
  6609. type: string
  6610. dgoodsname:
  6611. description: 交割商品名称
  6612. type: string
  6613. goodscode:
  6614. description: 商品代码
  6615. type: string
  6616. goodsid:
  6617. description: 商品ID
  6618. type: integer
  6619. goodsname:
  6620. description: 商品名称
  6621. type: string
  6622. marketid:
  6623. description: 市场ID
  6624. type: integer
  6625. marketname:
  6626. description: 市场名称
  6627. type: string
  6628. moneyticket:
  6629. description: 资金流水号:银行端流水号
  6630. type: integer
  6631. operatetype:
  6632. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  6633. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  6634. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  6635. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  6636. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  6637. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  6638. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  6639. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  6640. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  6641. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  6642. type: integer
  6643. relationorderid:
  6644. description: 关联单号
  6645. type: string
  6646. remark:
  6647. description: 备注
  6648. type: string
  6649. trademode:
  6650. description: 交易模式
  6651. type: integer
  6652. required:
  6653. - accountid
  6654. - amount
  6655. - amountadjusttype
  6656. - autoid
  6657. - balance
  6658. - createtime
  6659. - currentbalance
  6660. - operatetype
  6661. type: object
  6662. taaccount.QueryHisAmountLogRsp:
  6663. properties:
  6664. OPERATETYPENAME:
  6665. description: 资金操作类型名称
  6666. type: string
  6667. accountid:
  6668. description: 资金账户ID
  6669. type: integer
  6670. agoodscode:
  6671. description: 竞拍商品代码
  6672. type: string
  6673. agoodsname:
  6674. description: 竞拍商品名称
  6675. type: string
  6676. amount:
  6677. description: 资金金额
  6678. type: number
  6679. amountadjusttype:
  6680. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  6681. type: integer
  6682. autoid:
  6683. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  6684. type: integer
  6685. balance:
  6686. description: 期初余额
  6687. type: number
  6688. businesscode:
  6689. description: 业务编号
  6690. type: integer
  6691. createtime:
  6692. description: 发生时间
  6693. type: string
  6694. currencyid:
  6695. description: 币种ID
  6696. type: integer
  6697. currentbalance:
  6698. description: 期末余额(变动后金额)
  6699. type: number
  6700. dgoodscode:
  6701. description: 交割商品代码
  6702. type: string
  6703. dgoodsname:
  6704. description: 交割商品名称
  6705. type: string
  6706. goodscode:
  6707. description: 商品代码
  6708. type: string
  6709. goodsid:
  6710. description: 商品ID
  6711. type: integer
  6712. goodsname:
  6713. description: 商品名称
  6714. type: string
  6715. histradedate:
  6716. description: 历史交易日
  6717. type: string
  6718. isvaliddata:
  6719. description: 是否有效 - 0:无效 1:有效
  6720. type: integer
  6721. marketid:
  6722. description: 市场ID
  6723. type: integer
  6724. marketname:
  6725. description: 市场名称
  6726. type: string
  6727. moneyticket:
  6728. description: 资金流水号:银行端流水号
  6729. type: integer
  6730. operatetype:
  6731. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  6732. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  6733. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  6734. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  6735. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  6736. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  6737. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  6738. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  6739. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  6740. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  6741. type: integer
  6742. relationorderid:
  6743. description: 关联单号
  6744. type: string
  6745. remark:
  6746. description: 备注
  6747. type: string
  6748. trademode:
  6749. description: 交易模式
  6750. type: integer
  6751. required:
  6752. - accountid
  6753. - amount
  6754. - amountadjusttype
  6755. - autoid
  6756. - balance
  6757. - createtime
  6758. - currentbalance
  6759. - histradedate
  6760. - operatetype
  6761. type: object
  6762. trade.QueryRecieptOrderRsp:
  6763. properties:
  6764. accountName:
  6765. description: 所属账号名称(已脱敏)
  6766. type: string
  6767. accountid:
  6768. description: 资金账号
  6769. type: integer
  6770. buyorsell:
  6771. description: 方向 - 0:买 1:卖
  6772. type: integer
  6773. enableqty:
  6774. description: 可摘数量
  6775. type: integer
  6776. goodscode:
  6777. description: 商品代码
  6778. type: string
  6779. goodsid:
  6780. description: 商品ID
  6781. type: integer
  6782. goodsname:
  6783. description: 商品名称
  6784. type: string
  6785. orderid:
  6786. description: 委托单号
  6787. type: string
  6788. orderprice:
  6789. description: 委托价格
  6790. type: number
  6791. ordertime:
  6792. description: 委托时间
  6793. type: string
  6794. tradedate:
  6795. description: 交易日(yyyyMMdd)
  6796. type: string
  6797. required:
  6798. - ordertime
  6799. type: object
  6800. info:
  6801. contact: {}
  6802. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  6803. license: {}
  6804. termsOfService: http://muchinfo.cn
  6805. title: MTP2.0 查询服务 API
  6806. version: "1.0"
  6807. paths:
  6808. /CPTrade/QueryCPTradeMyBidInfos:
  6809. get:
  6810. parameters:
  6811. - description: 资金账户
  6812. in: query
  6813. name: accountid
  6814. required: true
  6815. type: integer
  6816. - description: 预售市场ID
  6817. in: query
  6818. name: marketid
  6819. type: integer
  6820. - description: 预售商品ID
  6821. in: query
  6822. name: goodsid
  6823. type: integer
  6824. produces:
  6825. - application/json
  6826. responses:
  6827. "200":
  6828. description: OK
  6829. schema:
  6830. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  6831. "500":
  6832. description: Internal Server Error
  6833. schema:
  6834. $ref: '#/definitions/app.Response'
  6835. security:
  6836. - ApiKeyAuth: []
  6837. summary: 查询产能预售我的出价信息
  6838. tags:
  6839. - 产能预售
  6840. /CPTrade/QueryCPTradeOrderDetail:
  6841. get:
  6842. parameters:
  6843. - description: 预售商品ID
  6844. in: query
  6845. name: goodsid
  6846. type: integer
  6847. - description: 预售市场ID
  6848. in: query
  6849. name: marketid
  6850. type: integer
  6851. - description: 预售商品ID列表 - 格式:1,2,3
  6852. in: query
  6853. name: goodsids
  6854. type: string
  6855. produces:
  6856. - application/json
  6857. responses:
  6858. "200":
  6859. description: OK
  6860. schema:
  6861. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  6862. "500":
  6863. description: Internal Server Error
  6864. schema:
  6865. $ref: '#/definitions/app.Response'
  6866. security:
  6867. - ApiKeyAuth: []
  6868. summary: 查询产能预售委托单信息
  6869. tags:
  6870. - 产能预售
  6871. /CPTrade/QueryMyCPTradeGoods:
  6872. get:
  6873. parameters:
  6874. - description: 资金账户
  6875. in: query
  6876. name: accountid
  6877. required: true
  6878. type: integer
  6879. produces:
  6880. - application/json
  6881. responses:
  6882. "200":
  6883. description: OK
  6884. schema:
  6885. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  6886. "500":
  6887. description: Internal Server Error
  6888. schema:
  6889. $ref: '#/definitions/app.Response'
  6890. security:
  6891. - ApiKeyAuth: []
  6892. summary: 查询我的预售信息
  6893. tags:
  6894. - 产能预售
  6895. /CPTrade/QueryPositionCancel:
  6896. get:
  6897. parameters:
  6898. - description: 账户ID
  6899. in: query
  6900. name: userid
  6901. required: true
  6902. type: integer
  6903. - description: 注销ID
  6904. in: query
  6905. name: cancelid
  6906. type: integer
  6907. - description: 资金账户ID
  6908. in: query
  6909. name: accountid
  6910. type: integer
  6911. produces:
  6912. - application/json
  6913. responses:
  6914. "200":
  6915. description: OK
  6916. schema:
  6917. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  6918. "500":
  6919. description: Internal Server Error
  6920. schema:
  6921. $ref: '#/definitions/app.Response'
  6922. security:
  6923. - ApiKeyAuth: []
  6924. summary: 查询远期订单注销申请信息
  6925. tags:
  6926. - 产能预售
  6927. /CPTrade/QueryPreasleApply:
  6928. get:
  6929. parameters:
  6930. - description: 账户ID
  6931. in: query
  6932. name: userid
  6933. required: true
  6934. type: integer
  6935. - description: 申请ID
  6936. in: query
  6937. name: applyid
  6938. type: integer
  6939. - description: 资金账户ID
  6940. in: query
  6941. name: accountid
  6942. type: integer
  6943. produces:
  6944. - application/json
  6945. responses:
  6946. "200":
  6947. description: OK
  6948. schema:
  6949. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  6950. "500":
  6951. description: Internal Server Error
  6952. schema:
  6953. $ref: '#/definitions/app.Response'
  6954. security:
  6955. - ApiKeyAuth: []
  6956. summary: 查询产能预售申请信息
  6957. tags:
  6958. - 产能预售
  6959. /CPTrade/QueryPresaleGoodsEx:
  6960. get:
  6961. parameters:
  6962. - description: 预售商品ID
  6963. in: query
  6964. name: goodsid
  6965. type: integer
  6966. - description: 预售市场ID
  6967. in: query
  6968. name: marketid
  6969. type: integer
  6970. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  6971. in: query
  6972. name: presalemode
  6973. type: integer
  6974. - description: 预售商品ID列表 - 格式:1,2,3
  6975. in: query
  6976. name: goodsids
  6977. type: string
  6978. - description: 预售商品代码
  6979. in: query
  6980. name: goodscode
  6981. type: string
  6982. produces:
  6983. - application/json
  6984. responses:
  6985. "200":
  6986. description: OK
  6987. schema:
  6988. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  6989. "500":
  6990. description: Internal Server Error
  6991. schema:
  6992. $ref: '#/definitions/app.Response'
  6993. security:
  6994. - ApiKeyAuth: []
  6995. summary: 查询产能预售商品扩展信息
  6996. tags:
  6997. - 产能预售
  6998. /CPTrade/QueryUserGoodsData:
  6999. get:
  7000. parameters:
  7001. - description: 资金账户ID
  7002. in: query
  7003. name: accountid
  7004. required: true
  7005. type: integer
  7006. produces:
  7007. - application/json
  7008. responses:
  7009. "200":
  7010. description: OK
  7011. schema:
  7012. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  7013. "500":
  7014. description: Internal Server Error
  7015. schema:
  7016. $ref: '#/definitions/app.Response'
  7017. security:
  7018. - ApiKeyAuth: []
  7019. summary: 查询远期订单信息
  7020. tags:
  7021. - 产能预售
  7022. /Common/GetAllEnums:
  7023. get:
  7024. produces:
  7025. - application/json
  7026. responses:
  7027. "200":
  7028. description: OK
  7029. schema:
  7030. $ref: '#/definitions/models.Enumdicitem'
  7031. "500":
  7032. description: Internal Server Error
  7033. schema:
  7034. $ref: '#/definitions/app.Response'
  7035. summary: 获取所有枚举信息
  7036. tags:
  7037. - 通用服务
  7038. /Common/GetServerTime:
  7039. get:
  7040. produces:
  7041. - application/json
  7042. responses:
  7043. "200":
  7044. description: OK
  7045. schema:
  7046. $ref: '#/definitions/app.Response'
  7047. "500":
  7048. description: Internal Server Error
  7049. schema:
  7050. $ref: '#/definitions/app.Response'
  7051. summary: 获取服务器时间
  7052. tags:
  7053. - 通用服务
  7054. /Common/NoticeReaded:
  7055. post:
  7056. parameters:
  7057. - description: 登录账号
  7058. in: query
  7059. name: loginID
  7060. required: true
  7061. type: integer
  7062. - description: 通知公告ID
  7063. in: query
  7064. name: noticeID
  7065. required: true
  7066. type: integer
  7067. produces:
  7068. - application/json
  7069. responses:
  7070. "200":
  7071. description: OK
  7072. schema:
  7073. $ref: '#/definitions/app.Response'
  7074. "500":
  7075. description: Internal Server Error
  7076. schema:
  7077. $ref: '#/definitions/app.Response'
  7078. security:
  7079. - ApiKeyAuth: []
  7080. summary: 通知公告设置已读请求
  7081. tags:
  7082. - 通用服务
  7083. /Common/QueryImageConfigs:
  7084. get:
  7085. parameters:
  7086. - description: 类型 - 1:App首页轮播 2:我的
  7087. in: query
  7088. name: imageType
  7089. type: integer
  7090. produces:
  7091. - application/json
  7092. responses:
  7093. "200":
  7094. description: OK
  7095. schema:
  7096. $ref: '#/definitions/models.Szdz2imageconfig'
  7097. "500":
  7098. description: Internal Server Error
  7099. schema:
  7100. $ref: '#/definitions/app.Response'
  7101. summary: 查询轮播图配置信息
  7102. tags:
  7103. - 通用服务
  7104. /Common/QueryNotice:
  7105. get:
  7106. parameters:
  7107. - description: 页码
  7108. in: query
  7109. name: page
  7110. type: integer
  7111. - description: 每页条数
  7112. in: query
  7113. name: pagesize
  7114. type: integer
  7115. - description: 登录账号
  7116. in: query
  7117. name: loginID
  7118. required: true
  7119. type: integer
  7120. - description: 消息类型 - 1:公告通知 2:系统消息
  7121. in: query
  7122. name: msgType
  7123. type: integer
  7124. - description: 是否只获取未读信息
  7125. in: query
  7126. name: onlyUnRead
  7127. type: boolean
  7128. produces:
  7129. - application/json
  7130. responses:
  7131. "200":
  7132. description: OK
  7133. schema:
  7134. $ref: '#/definitions/common.QueryNoticeRsp'
  7135. "500":
  7136. description: Internal Server Error
  7137. schema:
  7138. $ref: '#/definitions/app.Response'
  7139. security:
  7140. - ApiKeyAuth: []
  7141. summary: 通知公告系统消息查询
  7142. tags:
  7143. - 通用服务
  7144. /Common/QueryProvincesAndCities:
  7145. get:
  7146. parameters:
  7147. - description: 省ID
  7148. in: query
  7149. name: provinceID
  7150. type: integer
  7151. produces:
  7152. - application/json
  7153. responses:
  7154. "200":
  7155. description: OK
  7156. schema:
  7157. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  7158. "500":
  7159. description: Internal Server Error
  7160. schema:
  7161. $ref: '#/definitions/app.Response'
  7162. summary: 查询省市信息(不包括区)
  7163. tags:
  7164. - 通用服务
  7165. /Common/QueryTableDefine:
  7166. get:
  7167. parameters:
  7168. - description: 表key
  7169. in: query
  7170. name: tableKey
  7171. type: string
  7172. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  7173. in: query
  7174. name: tableType
  7175. type: integer
  7176. produces:
  7177. - application/json
  7178. responses:
  7179. "200":
  7180. description: OK
  7181. schema:
  7182. $ref: '#/definitions/common.QueryTableDefineRsp'
  7183. "500":
  7184. description: Internal Server Error
  7185. schema:
  7186. $ref: '#/definitions/app.Response'
  7187. summary: 查询交易端列表头信息
  7188. tags:
  7189. - 通用服务
  7190. /Common/QueryTraderMenu:
  7191. get:
  7192. parameters:
  7193. - description: 登录账号
  7194. in: query
  7195. name: loginid
  7196. required: true
  7197. type: integer
  7198. produces:
  7199. - application/json
  7200. responses:
  7201. "200":
  7202. description: OK
  7203. schema:
  7204. $ref: '#/definitions/common.QueryTraderMenuRsp'
  7205. "500":
  7206. description: Internal Server Error
  7207. schema:
  7208. $ref: '#/definitions/app.Response'
  7209. summary: 查询交易端菜单
  7210. tags:
  7211. - 通用服务
  7212. /Delivery/QueryDeliveryRelation:
  7213. get:
  7214. parameters:
  7215. - description: 商品ID
  7216. in: query
  7217. name: goodsid
  7218. type: integer
  7219. - description: 品种ID
  7220. in: query
  7221. name: deliverygoodsid
  7222. type: integer
  7223. - description: 市场ID
  7224. in: query
  7225. name: marketid
  7226. type: integer
  7227. produces:
  7228. - application/json
  7229. responses:
  7230. "200":
  7231. description: OK
  7232. schema:
  7233. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  7234. "500":
  7235. description: Internal Server Error
  7236. schema:
  7237. $ref: '#/definitions/app.Response'
  7238. security:
  7239. - ApiKeyAuth: []
  7240. summary: 查询商品交割关系表
  7241. tags:
  7242. - 交割服务
  7243. /Ermcp/QueryBusinessDj:
  7244. get:
  7245. parameters:
  7246. - description: 用户ID
  7247. in: query
  7248. name: UserId
  7249. required: true
  7250. type: integer
  7251. - description: 现货合同ID, 不填则查所有
  7252. in: query
  7253. name: relatedid
  7254. type: string
  7255. produces:
  7256. - application/json
  7257. responses:
  7258. "200":
  7259. description: OK
  7260. schema:
  7261. items:
  7262. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  7263. type: array
  7264. "500":
  7265. description: Internal Server Error
  7266. schema:
  7267. $ref: '#/definitions/app.Response'
  7268. security:
  7269. - ApiKeyAuth: []
  7270. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  7271. tags:
  7272. - 企业风险管理(app)
  7273. /Ermcp/QueryBusinessFp:
  7274. get:
  7275. parameters:
  7276. - description: 用户ID
  7277. in: query
  7278. name: UserId
  7279. required: true
  7280. type: integer
  7281. - description: 现货合同ID, 不填则查所有
  7282. in: query
  7283. name: relatedid
  7284. type: string
  7285. produces:
  7286. - application/json
  7287. responses:
  7288. "200":
  7289. description: OK
  7290. schema:
  7291. items:
  7292. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  7293. type: array
  7294. "500":
  7295. description: Internal Server Error
  7296. schema:
  7297. $ref: '#/definitions/app.Response'
  7298. security:
  7299. - ApiKeyAuth: []
  7300. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  7301. tags:
  7302. - 企业风险管理(app)
  7303. /Ermcp/QueryBusinessJs:
  7304. get:
  7305. parameters:
  7306. - description: 用户ID
  7307. in: query
  7308. name: UserId
  7309. required: true
  7310. type: integer
  7311. - description: 现货合同ID, 不填则查所有
  7312. in: query
  7313. name: relatedid
  7314. type: string
  7315. produces:
  7316. - application/json
  7317. responses:
  7318. "200":
  7319. description: OK
  7320. schema:
  7321. items:
  7322. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  7323. type: array
  7324. "500":
  7325. description: Internal Server Error
  7326. schema:
  7327. $ref: '#/definitions/app.Response'
  7328. security:
  7329. - ApiKeyAuth: []
  7330. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  7331. tags:
  7332. - 企业风险管理(app)
  7333. /Ermcp/QueryBusinessKx:
  7334. get:
  7335. parameters:
  7336. - description: 用户ID
  7337. in: query
  7338. name: UserId
  7339. required: true
  7340. type: integer
  7341. - description: 现货合同ID, 不填则查所有
  7342. in: query
  7343. name: relatedid
  7344. type: string
  7345. produces:
  7346. - application/json
  7347. responses:
  7348. "200":
  7349. description: OK
  7350. schema:
  7351. items:
  7352. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  7353. type: array
  7354. "500":
  7355. description: Internal Server Error
  7356. schema:
  7357. $ref: '#/definitions/app.Response'
  7358. security:
  7359. - ApiKeyAuth: []
  7360. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  7361. tags:
  7362. - 企业风险管理(app)
  7363. /Ermcp/QueryChangeLog:
  7364. get:
  7365. parameters:
  7366. - description: 用户ID
  7367. in: query
  7368. name: RelatedId
  7369. required: true
  7370. type: string
  7371. produces:
  7372. - application/json
  7373. responses:
  7374. "200":
  7375. description: OK
  7376. schema:
  7377. items:
  7378. $ref: '#/definitions/ermcp.QryOPLogRsp'
  7379. type: array
  7380. "500":
  7381. description: Internal Server Error
  7382. schema:
  7383. $ref: '#/definitions/app.Response'
  7384. security:
  7385. - ApiKeyAuth: []
  7386. summary: 查询变更记录
  7387. tags:
  7388. - 企业风险管理(app)
  7389. /Ermcp/QueryContract:
  7390. get:
  7391. parameters:
  7392. - description: 用户ID
  7393. in: query
  7394. name: userId
  7395. required: true
  7396. type: integer
  7397. - description: 合同类型 1-采购, -1-销售
  7398. in: query
  7399. name: contracttype
  7400. required: true
  7401. type: integer
  7402. - description: 查询类型 1-全部 2-待点价 3-履约结算
  7403. in: query
  7404. name: querytype
  7405. required: true
  7406. type: integer
  7407. produces:
  7408. - application/json
  7409. responses:
  7410. "200":
  7411. description: OK
  7412. schema:
  7413. items:
  7414. $ref: '#/definitions/ermcp.QryErmcpRsp'
  7415. type: array
  7416. "500":
  7417. description: Internal Server Error
  7418. schema:
  7419. $ref: '#/definitions/app.Response'
  7420. security:
  7421. - ApiKeyAuth: []
  7422. summary: 查询合同(采购和销售)
  7423. tags:
  7424. - 企业风险管理(app)
  7425. /Ermcp/QueryExposureDetail:
  7426. get:
  7427. parameters:
  7428. - description: 所属机构ID
  7429. in: query
  7430. name: areaUserId
  7431. required: true
  7432. type: integer
  7433. - description: 套保商品
  7434. in: query
  7435. name: middleGoodsId
  7436. required: true
  7437. type: integer
  7438. produces:
  7439. - application/json
  7440. responses:
  7441. "200":
  7442. description: OK
  7443. schema:
  7444. items:
  7445. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  7446. type: array
  7447. "500":
  7448. description: Internal Server Error
  7449. schema:
  7450. $ref: '#/definitions/app.Response'
  7451. security:
  7452. - ApiKeyAuth: []
  7453. summary: 查询敞口现货明细
  7454. tags:
  7455. - 企业风险管理(app)
  7456. /Ermcp/QueryExposureSpot:
  7457. get:
  7458. parameters:
  7459. - description: 所属机构ID
  7460. in: query
  7461. name: areaUserId
  7462. required: true
  7463. type: integer
  7464. produces:
  7465. - application/json
  7466. responses:
  7467. "200":
  7468. description: OK
  7469. schema:
  7470. items:
  7471. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  7472. type: array
  7473. "500":
  7474. description: Internal Server Error
  7475. schema:
  7476. $ref: '#/definitions/app.Response'
  7477. security:
  7478. - ApiKeyAuth: []
  7479. summary: 查询敞口现货头寸(敞口/现货头寸)
  7480. tags:
  7481. - 企业风险管理(app)
  7482. /Ermcp/QueryExposureSpotDetail:
  7483. get:
  7484. parameters:
  7485. - description: 所属机构ID
  7486. in: query
  7487. name: areaUserId
  7488. required: true
  7489. type: integer
  7490. - description: 现货品种ID
  7491. in: query
  7492. name: wrstandardId
  7493. required: true
  7494. type: integer
  7495. produces:
  7496. - application/json
  7497. responses:
  7498. "200":
  7499. description: OK
  7500. schema:
  7501. items:
  7502. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  7503. type: array
  7504. "500":
  7505. description: Internal Server Error
  7506. schema:
  7507. $ref: '#/definitions/app.Response'
  7508. security:
  7509. - ApiKeyAuth: []
  7510. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  7511. tags:
  7512. - 企业风险管理(app)
  7513. /Ermcp/QueryHedgePlan:
  7514. get:
  7515. parameters:
  7516. - description: 用户ID
  7517. in: query
  7518. name: userId
  7519. required: true
  7520. type: integer
  7521. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  7522. in: query
  7523. name: HedgePlanStatus
  7524. required: true
  7525. type: string
  7526. produces:
  7527. - application/json
  7528. responses:
  7529. "200":
  7530. description: OK
  7531. schema:
  7532. items:
  7533. $ref: '#/definitions/ermcp.QryHedgePlanRsp'
  7534. type: array
  7535. "500":
  7536. description: Internal Server Error
  7537. schema:
  7538. $ref: '#/definitions/app.Response'
  7539. security:
  7540. - ApiKeyAuth: []
  7541. summary: 查询套保计划
  7542. tags:
  7543. - 企业风险管理(app)
  7544. /Ermcp/QueryHisExposure:
  7545. get:
  7546. parameters:
  7547. - description: 所属机构ID
  7548. in: query
  7549. name: areaUserId
  7550. required: true
  7551. type: integer
  7552. - description: 最近多少条记录, -1:为查全部
  7553. in: query
  7554. name: lastNum
  7555. required: true
  7556. type: integer
  7557. produces:
  7558. - application/json
  7559. responses:
  7560. "200":
  7561. description: OK
  7562. schema:
  7563. items:
  7564. $ref: '#/definitions/ermcp.HisExposureRsp'
  7565. type: array
  7566. "500":
  7567. description: Internal Server Error
  7568. schema:
  7569. $ref: '#/definitions/app.Response'
  7570. security:
  7571. - ApiKeyAuth: []
  7572. summary: 查询历史敞口(菜单:敞口/历史敞口)
  7573. tags:
  7574. - 企业风险管理(app)
  7575. /Ermcp/QueryMiddleGoods:
  7576. get:
  7577. parameters:
  7578. - description: 所属机构ID
  7579. in: query
  7580. name: userid
  7581. required: true
  7582. type: integer
  7583. - description: 状态 0-停用 1-正常
  7584. in: query
  7585. name: status
  7586. required: true
  7587. type: integer
  7588. produces:
  7589. - application/json
  7590. responses:
  7591. "200":
  7592. description: OK
  7593. schema:
  7594. items:
  7595. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  7596. type: array
  7597. "500":
  7598. description: Internal Server Error
  7599. schema:
  7600. $ref: '#/definitions/app.Response'
  7601. security:
  7602. - ApiKeyAuth: []
  7603. summary: 查询套保品种(菜单:套保品种)
  7604. tags:
  7605. - 企业风险管理(app)
  7606. /Ermcp/QueryRealtimeExposure:
  7607. get:
  7608. parameters:
  7609. - description: 所属机构ID
  7610. in: query
  7611. name: AreaUserID
  7612. required: true
  7613. type: integer
  7614. produces:
  7615. - application/json
  7616. responses:
  7617. "200":
  7618. description: OK
  7619. schema:
  7620. items:
  7621. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  7622. type: array
  7623. "500":
  7624. description: Internal Server Error
  7625. schema:
  7626. $ref: '#/definitions/app.Response'
  7627. security:
  7628. - ApiKeyAuth: []
  7629. summary: 查询实时敞口
  7630. tags:
  7631. - 企业风险管理(app)
  7632. /Ermcp/QuerySpotContract:
  7633. get:
  7634. parameters:
  7635. - description: 用户ID
  7636. in: query
  7637. name: userId
  7638. required: true
  7639. type: integer
  7640. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  7641. in: query
  7642. name: QueryType
  7643. required: true
  7644. type: integer
  7645. produces:
  7646. - application/json
  7647. responses:
  7648. "200":
  7649. description: OK
  7650. schema:
  7651. items:
  7652. $ref: '#/definitions/ermcp.QrySpotContractRsp'
  7653. type: array
  7654. "500":
  7655. description: Internal Server Error
  7656. schema:
  7657. $ref: '#/definitions/app.Response'
  7658. security:
  7659. - ApiKeyAuth: []
  7660. summary: 查询现货合同(对应现货合同菜单)
  7661. tags:
  7662. - 企业风险管理(app)
  7663. /Ermcp/QueryUserInfo:
  7664. get:
  7665. parameters:
  7666. - description: 所属机构用户ID
  7667. in: query
  7668. name: MemberUserID
  7669. required: true
  7670. type: integer
  7671. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  7672. in: query
  7673. name: queryType
  7674. required: true
  7675. type: integer
  7676. produces:
  7677. - application/json
  7678. responses:
  7679. "200":
  7680. description: OK
  7681. schema:
  7682. items:
  7683. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  7684. type: array
  7685. "500":
  7686. description: Internal Server Error
  7687. schema:
  7688. $ref: '#/definitions/app.Response'
  7689. security:
  7690. - ApiKeyAuth: []
  7691. summary: 查询客户资料
  7692. tags:
  7693. - 企业风险管理(app)
  7694. /Ermcp/QueryWrStandard:
  7695. get:
  7696. parameters:
  7697. - description: 所属机构ID
  7698. in: query
  7699. name: userid
  7700. required: true
  7701. type: integer
  7702. - description: 状态 0-停用 1-正常
  7703. in: query
  7704. name: status
  7705. required: true
  7706. type: integer
  7707. produces:
  7708. - application/json
  7709. responses:
  7710. "200":
  7711. description: OK
  7712. schema:
  7713. items:
  7714. $ref: '#/definitions/ermcp.QryWrStandardRsp'
  7715. type: array
  7716. "500":
  7717. description: Internal Server Error
  7718. schema:
  7719. $ref: '#/definitions/app.Response'
  7720. security:
  7721. - ApiKeyAuth: []
  7722. summary: 查询现货商品
  7723. tags:
  7724. - 企业风险管理(app)
  7725. /Ermcp/QueryWrStandardDetail:
  7726. get:
  7727. parameters:
  7728. - description: 所属机构ID
  7729. in: query
  7730. name: userid
  7731. required: true
  7732. type: integer
  7733. - description: 现货商品ID
  7734. in: query
  7735. name: wrstandardid
  7736. required: true
  7737. type: integer
  7738. produces:
  7739. - application/json
  7740. responses:
  7741. "200":
  7742. description: OK
  7743. schema:
  7744. items:
  7745. $ref: '#/definitions/ermcp.QryWrStandardDetailRsp'
  7746. type: array
  7747. "500":
  7748. description: Internal Server Error
  7749. schema:
  7750. $ref: '#/definitions/app.Response'
  7751. security:
  7752. - ApiKeyAuth: []
  7753. summary: 查询现货商品详情(菜单:现货品种/现货品种详情)
  7754. tags:
  7755. - 企业风险管理(app)
  7756. /Erms2/QueryArbitrageStrategy:
  7757. get:
  7758. parameters:
  7759. - description: 账户ID
  7760. in: query
  7761. name: userid
  7762. required: true
  7763. type: integer
  7764. - description: 商品组ID(品种ID)
  7765. in: query
  7766. name: goodsgroupid
  7767. type: string
  7768. produces:
  7769. - application/json
  7770. responses:
  7771. "200":
  7772. description: OK
  7773. schema:
  7774. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  7775. "500":
  7776. description: Internal Server Error
  7777. schema:
  7778. $ref: '#/definitions/app.Response'
  7779. security:
  7780. - ApiKeyAuth: []
  7781. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  7782. tags:
  7783. - 风险管理
  7784. /Erms2/QueryInnerTradeDetail:
  7785. get:
  7786. parameters:
  7787. - description: 资金账户
  7788. in: query
  7789. name: accountid
  7790. required: true
  7791. type: integer
  7792. produces:
  7793. - application/json
  7794. responses:
  7795. "200":
  7796. description: OK
  7797. schema:
  7798. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  7799. "500":
  7800. description: Internal Server Error
  7801. schema:
  7802. $ref: '#/definitions/app.Response'
  7803. security:
  7804. - ApiKeyAuth: []
  7805. summary: 查询内部成交单信息
  7806. tags:
  7807. - 风险管理
  7808. /Erms2/QuerySpotContract:
  7809. get:
  7810. parameters:
  7811. - description: 策略申请ID
  7812. in: query
  7813. name: asapplyid
  7814. required: true
  7815. type: integer
  7816. - description: 现货合同ID
  7817. in: query
  7818. name: spotcontractid
  7819. type: integer
  7820. produces:
  7821. - application/json
  7822. responses:
  7823. "200":
  7824. description: OK
  7825. schema:
  7826. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  7827. "500":
  7828. description: Internal Server Error
  7829. schema:
  7830. $ref: '#/definitions/app.Response'
  7831. security:
  7832. - ApiKeyAuth: []
  7833. summary: 查询现货合同表信息(指定策略ID、未结束的)
  7834. tags:
  7835. - 风险管理
  7836. /Erms3/AddErms2ASApply:
  7837. post:
  7838. parameters:
  7839. - description: 申请参数
  7840. in: body
  7841. name: jsonBody
  7842. required: true
  7843. schema:
  7844. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  7845. produces:
  7846. - application/json
  7847. responses:
  7848. "200":
  7849. description: OK
  7850. schema:
  7851. $ref: '#/definitions/app.Response'
  7852. "500":
  7853. description: Internal Server Error
  7854. schema:
  7855. $ref: '#/definitions/app.Response'
  7856. security:
  7857. - ApiKeyAuth: []
  7858. summary: 新增期现套利业务申请
  7859. tags:
  7860. - 风险管理v3
  7861. /Erms3/AddErms2SpotTradeApply:
  7862. post:
  7863. parameters:
  7864. - description: 申请参数
  7865. in: body
  7866. name: jsonBody
  7867. required: true
  7868. schema:
  7869. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  7870. produces:
  7871. - application/json
  7872. responses:
  7873. "200":
  7874. description: OK
  7875. schema:
  7876. $ref: '#/definitions/app.Response'
  7877. "500":
  7878. description: Internal Server Error
  7879. schema:
  7880. $ref: '#/definitions/app.Response'
  7881. security:
  7882. - ApiKeyAuth: []
  7883. summary: 新增现货贸易业务申请
  7884. tags:
  7885. - 风险管理v3
  7886. /Erms3/AddSpotContractApply:
  7887. post:
  7888. parameters:
  7889. - description: 申请参数
  7890. in: body
  7891. name: jsonBody
  7892. required: true
  7893. schema:
  7894. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  7895. produces:
  7896. - application/json
  7897. responses:
  7898. "200":
  7899. description: OK
  7900. schema:
  7901. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  7902. "500":
  7903. description: Internal Server Error
  7904. schema:
  7905. $ref: '#/definitions/app.Response'
  7906. security:
  7907. - ApiKeyAuth: []
  7908. summary: 新增现货合同申请
  7909. tags:
  7910. - 风险管理v3
  7911. /Erms3/AddUserInfoApply:
  7912. post:
  7913. parameters:
  7914. - description: 申请参数
  7915. in: body
  7916. name: jsonBody
  7917. required: true
  7918. schema:
  7919. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  7920. produces:
  7921. - application/json
  7922. responses:
  7923. "200":
  7924. description: OK
  7925. schema:
  7926. $ref: '#/definitions/app.Response'
  7927. "500":
  7928. description: Internal Server Error
  7929. schema:
  7930. $ref: '#/definitions/app.Response'
  7931. security:
  7932. - ApiKeyAuth: []
  7933. summary: 新增客户申请
  7934. tags:
  7935. - 风险管理v3
  7936. /Erms3/QueryBusinessInfo:
  7937. get:
  7938. parameters:
  7939. - description: 资金账号ID列表,用逗号分隔
  7940. in: query
  7941. name: accountids
  7942. required: true
  7943. type: string
  7944. - description: 状态,0为未结束 1为已结束
  7945. in: query
  7946. name: status
  7947. required: true
  7948. type: integer
  7949. produces:
  7950. - application/json
  7951. responses:
  7952. "200":
  7953. description: OK
  7954. schema:
  7955. items:
  7956. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  7957. type: array
  7958. "500":
  7959. description: Internal Server Error
  7960. schema:
  7961. $ref: '#/definitions/app.Response'
  7962. security:
  7963. - ApiKeyAuth: []
  7964. summary: 查询业务表单数据
  7965. tags:
  7966. - 风险管理v3
  7967. /Erms3/QueryPendingAuditContract:
  7968. get:
  7969. parameters:
  7970. - description: 资金账号ID列表,逗号隔开
  7971. in: query
  7972. name: accountids
  7973. required: true
  7974. type: string
  7975. - description: 合同类型 1-采购 -1-销售
  7976. in: query
  7977. name: contracttype
  7978. required: true
  7979. type: integer
  7980. - description: 合同模式 1-普通 2-回购
  7981. in: query
  7982. name: contractmode
  7983. required: true
  7984. type: integer
  7985. produces:
  7986. - application/json
  7987. responses:
  7988. "200":
  7989. description: OK
  7990. schema:
  7991. items:
  7992. $ref: '#/definitions/erms3.QryAuditContractRsp'
  7993. type: array
  7994. "500":
  7995. description: Internal Server Error
  7996. schema:
  7997. $ref: '#/definitions/app.Response'
  7998. security:
  7999. - ApiKeyAuth: []
  8000. summary: 查询待审核合同
  8001. tags:
  8002. - 风险管理v3
  8003. /Erms3/QueryPendingBusiness:
  8004. get:
  8005. parameters:
  8006. - description: 资金账号ID列表,逗号隔开
  8007. in: query
  8008. name: accountids
  8009. required: true
  8010. type: string
  8011. produces:
  8012. - application/json
  8013. responses:
  8014. "200":
  8015. description: OK
  8016. schema:
  8017. items:
  8018. $ref: '#/definitions/erms3.QryPendingBizRsp'
  8019. type: array
  8020. "500":
  8021. description: Internal Server Error
  8022. schema:
  8023. $ref: '#/definitions/app.Response'
  8024. security:
  8025. - ApiKeyAuth: []
  8026. summary: 查询待审核基差贸易业务
  8027. tags:
  8028. - 风险管理v3
  8029. /Erms3/QuerySpotContractAppleForm:
  8030. get:
  8031. parameters:
  8032. - description: 登录账号
  8033. in: query
  8034. name: loginID
  8035. required: true
  8036. type: integer
  8037. produces:
  8038. - application/json
  8039. responses:
  8040. "200":
  8041. description: OK
  8042. schema:
  8043. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  8044. "500":
  8045. description: Internal Server Error
  8046. schema:
  8047. $ref: '#/definitions/app.Response'
  8048. security:
  8049. - ApiKeyAuth: []
  8050. summary: 查询合同申请表单数据
  8051. tags:
  8052. - 风险管理v3
  8053. /Erms3/QuerySpotContractDetail:
  8054. get:
  8055. parameters:
  8056. - description: 资金账号ID列表,用逗号分隔
  8057. in: query
  8058. name: accountids
  8059. required: true
  8060. type: string
  8061. - description: 合同类型,1为采购合同 -1为销售合同
  8062. in: query
  8063. name: contracttype
  8064. required: true
  8065. type: integer
  8066. - description: 合同模式,1为普通合同 2为回购销售合同
  8067. in: query
  8068. name: contractmode
  8069. required: true
  8070. type: integer
  8071. - description: 状态,0为履约中 1为已完成
  8072. in: query
  8073. name: status
  8074. required: true
  8075. type: integer
  8076. produces:
  8077. - application/json
  8078. responses:
  8079. "200":
  8080. description: OK
  8081. schema:
  8082. items:
  8083. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  8084. type: array
  8085. "500":
  8086. description: Internal Server Error
  8087. schema:
  8088. $ref: '#/definitions/app.Response'
  8089. security:
  8090. - ApiKeyAuth: []
  8091. summary: 查询合同详细信息
  8092. tags:
  8093. - 风险管理v3
  8094. /Erms3/QueryUserInfoApplies:
  8095. get:
  8096. parameters:
  8097. - description: 页码
  8098. in: query
  8099. name: page
  8100. type: integer
  8101. - description: 每页条数
  8102. in: query
  8103. name: pagesize
  8104. type: integer
  8105. - description: 客户名称,支持模糊查询
  8106. in: query
  8107. name: userName
  8108. type: string
  8109. produces:
  8110. - application/json
  8111. responses:
  8112. "200":
  8113. description: OK
  8114. schema:
  8115. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  8116. "500":
  8117. description: Internal Server Error
  8118. schema:
  8119. $ref: '#/definitions/app.Response'
  8120. security:
  8121. - ApiKeyAuth: []
  8122. summary: 客户申请信息查询
  8123. tags:
  8124. - 风险管理v3
  8125. /Erms3/QueryUserInfos:
  8126. get:
  8127. parameters:
  8128. - description: 页码
  8129. in: query
  8130. name: page
  8131. type: integer
  8132. - description: 每页条数
  8133. in: query
  8134. name: pagesize
  8135. type: integer
  8136. - description: 客户名称,支持模糊查询
  8137. in: query
  8138. name: userName
  8139. type: string
  8140. produces:
  8141. - application/json
  8142. responses:
  8143. "200":
  8144. description: OK
  8145. schema:
  8146. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  8147. "500":
  8148. description: Internal Server Error
  8149. schema:
  8150. $ref: '#/definitions/app.Response'
  8151. security:
  8152. - ApiKeyAuth: []
  8153. summary: 客户信息查询
  8154. tags:
  8155. - 风险管理v3
  8156. /HSBY/GetHsbyMyCount:
  8157. get:
  8158. description: 说明: 不包括已完成的数量。
  8159. parameters:
  8160. - description: 资金账户列表,格式:1,2,3
  8161. in: query
  8162. name: accountIDs
  8163. required: true
  8164. type: string
  8165. produces:
  8166. - application/json
  8167. responses:
  8168. "200":
  8169. description: OK
  8170. schema:
  8171. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  8172. "500":
  8173. description: Internal Server Error
  8174. schema:
  8175. $ref: '#/definitions/app.Response'
  8176. security:
  8177. - ApiKeyAuth: []
  8178. summary: 获取我的订单与包裹数量
  8179. tags:
  8180. - 定制【海商报业】
  8181. /HSBY/QueryClientFixedADConfigs:
  8182. get:
  8183. produces:
  8184. - application/json
  8185. responses:
  8186. "200":
  8187. description: OK
  8188. schema:
  8189. $ref: '#/definitions/models.Clientfixedadconfig'
  8190. "500":
  8191. description: Internal Server Error
  8192. schema:
  8193. $ref: '#/definitions/app.Response'
  8194. security:
  8195. - ApiKeyAuth: []
  8196. summary: 获取终端固定广告配置
  8197. tags:
  8198. - 定制【海商报业】
  8199. /HSBY/QueryHsbyBuyMyTradeDetail:
  8200. get:
  8201. parameters:
  8202. - description: 页码
  8203. in: query
  8204. name: page
  8205. type: integer
  8206. - description: 每页条数
  8207. in: query
  8208. name: pagesize
  8209. type: integer
  8210. - description: 资金账户列表,格式:1,2,3
  8211. in: query
  8212. name: accountIDs
  8213. required: true
  8214. type: string
  8215. produces:
  8216. - application/json
  8217. responses:
  8218. "200":
  8219. description: OK
  8220. schema:
  8221. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  8222. "500":
  8223. description: Internal Server Error
  8224. schema:
  8225. $ref: '#/definitions/app.Response'
  8226. security:
  8227. - ApiKeyAuth: []
  8228. summary: 查询"我的订单 - 已完成"单据信息
  8229. tags:
  8230. - 定制【海商报业】
  8231. /HSBY/QueryHsbyGoodsOrderDetails:
  8232. get:
  8233. description: 说明:查询结果已按委托价格和委托时间排序
  8234. parameters:
  8235. - description: 商品ID
  8236. in: query
  8237. name: goodsID
  8238. required: true
  8239. type: integer
  8240. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  8241. in: query
  8242. name: accountIDs
  8243. type: string
  8244. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  8245. in: query
  8246. name: buyOrSell
  8247. type: integer
  8248. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  8249. in: query
  8250. name: price
  8251. type: number
  8252. - description: 档位,不传则默认为3档
  8253. in: query
  8254. name: speed
  8255. type: integer
  8256. produces:
  8257. - application/json
  8258. responses:
  8259. "200":
  8260. description: OK
  8261. schema:
  8262. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  8263. "500":
  8264. description: Internal Server Error
  8265. schema:
  8266. $ref: '#/definitions/app.Response'
  8267. security:
  8268. - ApiKeyAuth: []
  8269. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  8270. tags:
  8271. - 定制【海商报业】
  8272. /HSBY/QueryHsbyListingGoodsDetail:
  8273. get:
  8274. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  8275. parameters:
  8276. - description: 商品ID
  8277. in: query
  8278. name: goodsID
  8279. required: true
  8280. type: integer
  8281. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  8282. in: query
  8283. name: accountID
  8284. type: integer
  8285. produces:
  8286. - application/json
  8287. responses:
  8288. "200":
  8289. description: OK
  8290. schema:
  8291. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  8292. "500":
  8293. description: Internal Server Error
  8294. schema:
  8295. $ref: '#/definitions/app.Response'
  8296. security:
  8297. - ApiKeyAuth: []
  8298. summary: 查询二级市场(挂牌点选)商品信息详情
  8299. tags:
  8300. - 定制【海商报业】
  8301. /HSBY/QueryHsbyMarketGoodsDetail:
  8302. get:
  8303. parameters:
  8304. - description: 委托单号
  8305. in: query
  8306. name: orderID
  8307. required: true
  8308. type: integer
  8309. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  8310. in: query
  8311. name: accountID
  8312. type: integer
  8313. produces:
  8314. - application/json
  8315. responses:
  8316. "200":
  8317. description: OK
  8318. schema:
  8319. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  8320. "500":
  8321. description: Internal Server Error
  8322. schema:
  8323. $ref: '#/definitions/app.Response'
  8324. security:
  8325. - ApiKeyAuth: []
  8326. summary: 查询三级市场(商城)商品信息详情
  8327. tags:
  8328. - 定制【海商报业】
  8329. /HSBY/QueryHsbyMarketGoodses:
  8330. get:
  8331. parameters:
  8332. - description: 页码
  8333. in: query
  8334. name: page
  8335. type: integer
  8336. - description: 每页条数
  8337. in: query
  8338. name: pagesize
  8339. type: integer
  8340. - description: 市场ID列表,格式:1,2,3
  8341. in: query
  8342. name: marketIDs
  8343. required: true
  8344. type: string
  8345. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  8346. in: query
  8347. name: accountID
  8348. required: true
  8349. type: integer
  8350. - description: 类别ID
  8351. in: query
  8352. name: categoryID
  8353. type: integer
  8354. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  8355. in: query
  8356. name: goodsIDs
  8357. type: string
  8358. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  8359. in: query
  8360. name: couponTypeID
  8361. type: integer
  8362. produces:
  8363. - application/json
  8364. responses:
  8365. "200":
  8366. description: OK
  8367. schema:
  8368. $ref: '#/definitions/models.HsbyMarketGoods'
  8369. "500":
  8370. description: Internal Server Error
  8371. schema:
  8372. $ref: '#/definitions/app.Response'
  8373. security:
  8374. - ApiKeyAuth: []
  8375. summary: 查询特卖商品列表(三级商城)
  8376. tags:
  8377. - 定制【海商报业】
  8378. /HSBY/QueryHsbyMarkets:
  8379. get:
  8380. produces:
  8381. - application/json
  8382. responses:
  8383. "200":
  8384. description: OK
  8385. schema:
  8386. $ref: '#/definitions/models.HsbyMarketInfo'
  8387. "500":
  8388. description: Internal Server Error
  8389. schema:
  8390. $ref: '#/definitions/app.Response'
  8391. security:
  8392. - ApiKeyAuth: []
  8393. summary: 查询海商报业相关市场信息
  8394. tags:
  8395. - 定制【海商报业】
  8396. /HSBY/QueryHsbyMyBuyOrderDetails:
  8397. get:
  8398. description: 说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;
  8399. parameters:
  8400. - description: 资金账户列表,格式:1,2,3
  8401. in: query
  8402. name: accountIDs
  8403. required: true
  8404. type: string
  8405. - description: '''我的订单''状态, 1:抢购中 2:求购中 3:已完成;不传则为''全部'''
  8406. in: query
  8407. name: myBuyStatus
  8408. type: integer
  8409. produces:
  8410. - application/json
  8411. responses:
  8412. "200":
  8413. description: OK
  8414. schema:
  8415. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  8416. "500":
  8417. description: Internal Server Error
  8418. schema:
  8419. $ref: '#/definitions/app.Response'
  8420. security:
  8421. - ApiKeyAuth: []
  8422. summary: 查询“我的订单”信息
  8423. tags:
  8424. - 定制【海商报业】
  8425. /HSBY/QueryHsbyMyGoods:
  8426. get:
  8427. parameters:
  8428. - description: 资金账户列表,格式:1,2,3
  8429. in: query
  8430. name: accountIDs
  8431. required: true
  8432. type: string
  8433. produces:
  8434. - application/json
  8435. responses:
  8436. "200":
  8437. description: OK
  8438. schema:
  8439. $ref: '#/definitions/models.HsbyMyGoods'
  8440. "500":
  8441. description: Internal Server Error
  8442. schema:
  8443. $ref: '#/definitions/app.Response'
  8444. security:
  8445. - ApiKeyAuth: []
  8446. summary: 查询“我的商品”信息
  8447. tags:
  8448. - 定制【海商报业】
  8449. /HSBY/QueryHsbyMyPackages:
  8450. get:
  8451. parameters:
  8452. - description: 资金账户列表,格式:1,2,3
  8453. in: query
  8454. name: accountIDs
  8455. required: true
  8456. type: string
  8457. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8458. in: query
  8459. name: takeOrderStatus
  8460. type: integer
  8461. produces:
  8462. - application/json
  8463. responses:
  8464. "200":
  8465. description: OK
  8466. schema:
  8467. $ref: '#/definitions/models.HsbyMyPackage'
  8468. "500":
  8469. description: Internal Server Error
  8470. schema:
  8471. $ref: '#/definitions/app.Response'
  8472. security:
  8473. - ApiKeyAuth: []
  8474. summary: 查询我的包裹信息
  8475. tags:
  8476. - 定制【海商报业】
  8477. /HSBY/QueryHsbyPreGoodsDetail:
  8478. get:
  8479. parameters:
  8480. - description: 商品ID
  8481. in: query
  8482. name: goodsID
  8483. required: true
  8484. type: integer
  8485. - description: 资金账户,主要用于获取预售商品购买上限
  8486. in: query
  8487. name: accountID
  8488. type: integer
  8489. produces:
  8490. - application/json
  8491. responses:
  8492. "200":
  8493. description: OK
  8494. schema:
  8495. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  8496. "500":
  8497. description: Internal Server Error
  8498. schema:
  8499. $ref: '#/definitions/app.Response'
  8500. security:
  8501. - ApiKeyAuth: []
  8502. summary: 查询一级市场(预售)商品信息详情
  8503. tags:
  8504. - 定制【海商报业】
  8505. /HSBY/QueryHsbyPreGoodses:
  8506. get:
  8507. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  8508. parameters:
  8509. - description: 页码
  8510. in: query
  8511. name: page
  8512. type: integer
  8513. - description: 每页条数
  8514. in: query
  8515. name: pagesize
  8516. type: integer
  8517. - description: 市场ID列表,格式:1,2,3
  8518. in: query
  8519. name: marketIDs
  8520. required: true
  8521. type: string
  8522. - description: 目的地(省)ID
  8523. in: query
  8524. name: descProvinceID
  8525. type: integer
  8526. - description: 目的地(市)ID
  8527. in: query
  8528. name: descCityID
  8529. type: integer
  8530. produces:
  8531. - application/json
  8532. responses:
  8533. "200":
  8534. description: OK
  8535. schema:
  8536. $ref: '#/definitions/models.HsbyPreGoods'
  8537. "500":
  8538. description: Internal Server Error
  8539. schema:
  8540. $ref: '#/definitions/app.Response'
  8541. security:
  8542. - ApiKeyAuth: []
  8543. summary: 查询新品上市商品列表(一级市场预售)
  8544. tags:
  8545. - 定制【海商报业】
  8546. /HSBY/QueryHsbySellMyDetails:
  8547. get:
  8548. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  8549. parameters:
  8550. - description: 页码
  8551. in: query
  8552. name: page
  8553. type: integer
  8554. - description: 每页条数
  8555. in: query
  8556. name: pagesize
  8557. type: integer
  8558. - description: 资金账户列表,格式:1,2,3
  8559. in: query
  8560. name: accountIDs
  8561. required: true
  8562. type: string
  8563. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  8564. in: query
  8565. name: orderType
  8566. type: integer
  8567. produces:
  8568. - application/json
  8569. responses:
  8570. "200":
  8571. description: OK
  8572. schema:
  8573. $ref: '#/definitions/models.HsbySellMyDetail'
  8574. "500":
  8575. description: Internal Server Error
  8576. schema:
  8577. $ref: '#/definitions/app.Response'
  8578. security:
  8579. - ApiKeyAuth: []
  8580. summary: 查询"我的闲置"单据信息
  8581. tags:
  8582. - 定制【海商报业】
  8583. /HSBY/QueryHsbyTopGoodses:
  8584. get:
  8585. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  8586. parameters:
  8587. - description: 页码
  8588. in: query
  8589. name: page
  8590. type: integer
  8591. - description: 每页条数
  8592. in: query
  8593. name: pagesize
  8594. type: integer
  8595. - description: 市场ID列表,格式:1,2,3
  8596. in: query
  8597. name: marketIDs
  8598. required: true
  8599. type: string
  8600. - description: 目的地(省)ID
  8601. in: query
  8602. name: descProvinceID
  8603. type: integer
  8604. - description: 目的地(市)ID
  8605. in: query
  8606. name: descCityID
  8607. type: integer
  8608. produces:
  8609. - application/json
  8610. responses:
  8611. "200":
  8612. description: OK
  8613. schema:
  8614. $ref: '#/definitions/models.HsbyTopGoods'
  8615. "500":
  8616. description: Internal Server Error
  8617. schema:
  8618. $ref: '#/definitions/app.Response'
  8619. security:
  8620. - ApiKeyAuth: []
  8621. summary: 查询热卖商品列表(二级市场挂牌点选)
  8622. tags:
  8623. - 定制【海商报业】
  8624. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  8625. get:
  8626. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  8627. parameters:
  8628. - description: 商品ID
  8629. in: query
  8630. name: goodsID
  8631. required: true
  8632. type: integer
  8633. produces:
  8634. - application/json
  8635. responses:
  8636. "200":
  8637. description: OK
  8638. schema:
  8639. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  8640. "500":
  8641. description: Internal Server Error
  8642. schema:
  8643. $ref: '#/definitions/app.Response'
  8644. security:
  8645. - ApiKeyAuth: []
  8646. summary: 查询游客三级市场(商城)商品信息详情
  8647. tags:
  8648. - 定制【海商报业】
  8649. /HSBY/QueryHsbyVisitorMarketGoodses:
  8650. get:
  8651. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  8652. parameters:
  8653. - description: 页码
  8654. in: query
  8655. name: page
  8656. type: integer
  8657. - description: 每页条数
  8658. in: query
  8659. name: pagesize
  8660. type: integer
  8661. - description: 市场ID列表,格式:1,2,3
  8662. in: query
  8663. name: marketIDs
  8664. required: true
  8665. type: string
  8666. - description: 类别ID
  8667. in: query
  8668. name: categoryID
  8669. type: integer
  8670. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  8671. in: query
  8672. name: goodsIDs
  8673. type: string
  8674. produces:
  8675. - application/json
  8676. responses:
  8677. "200":
  8678. description: OK
  8679. schema:
  8680. $ref: '#/definitions/models.HsbyMarketGoods'
  8681. "500":
  8682. description: Internal Server Error
  8683. schema:
  8684. $ref: '#/definitions/app.Response'
  8685. security:
  8686. - ApiKeyAuth: []
  8687. summary: 查询游客特卖商品列表(三级商城)
  8688. tags:
  8689. - 定制【海商报业】
  8690. /HSBY/QueryMyCollectionOrders:
  8691. get:
  8692. parameters:
  8693. - description: 页码
  8694. in: query
  8695. name: page
  8696. type: integer
  8697. - description: 每页条数
  8698. in: query
  8699. name: pagesize
  8700. type: integer
  8701. - description: 资金账户,格式:1,2,3
  8702. in: query
  8703. name: accountIDs
  8704. required: true
  8705. type: string
  8706. produces:
  8707. - application/json
  8708. responses:
  8709. "200":
  8710. description: OK
  8711. schema:
  8712. $ref: '#/definitions/models.HsbySellCollectionOrder'
  8713. "500":
  8714. description: Internal Server Error
  8715. schema:
  8716. $ref: '#/definitions/app.Response'
  8717. security:
  8718. - ApiKeyAuth: []
  8719. summary: 我的闲置中收款信息查询
  8720. tags:
  8721. - 定制【海商报业】
  8722. /HSBY/QueryMyCouponHolds:
  8723. get:
  8724. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  8725. parameters:
  8726. - description: 资金账户列表,格式:1,2,3
  8727. in: query
  8728. name: accountIDs
  8729. required: true
  8730. type: string
  8731. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  8732. in: query
  8733. name: holdStatus
  8734. type: string
  8735. produces:
  8736. - application/json
  8737. responses:
  8738. "200":
  8739. description: OK
  8740. schema:
  8741. $ref: '#/definitions/models.MyCouponHold'
  8742. "500":
  8743. description: Internal Server Error
  8744. schema:
  8745. $ref: '#/definitions/app.Response'
  8746. security:
  8747. - ApiKeyAuth: []
  8748. summary: 我的优惠卷持仓查询
  8749. tags:
  8750. - 定制【海商报业】
  8751. /HSBY/QueryMyCoupons:
  8752. get:
  8753. parameters:
  8754. - description: 资金账户列表,格式:1,2,3
  8755. in: query
  8756. name: accountIDs
  8757. required: true
  8758. type: string
  8759. - description: 商品ID, 一般与sellUserID配套传入
  8760. in: query
  8761. name: goodsID
  8762. type: integer
  8763. - description: 卖方UserID
  8764. in: query
  8765. name: sellUserID
  8766. type: integer
  8767. produces:
  8768. - application/json
  8769. responses:
  8770. "200":
  8771. description: OK
  8772. schema:
  8773. $ref: '#/definitions/models.MyCoupon'
  8774. "500":
  8775. description: Internal Server Error
  8776. schema:
  8777. $ref: '#/definitions/app.Response'
  8778. security:
  8779. - ApiKeyAuth: []
  8780. summary: 我的优惠卷查询
  8781. tags:
  8782. - 定制【海商报业】
  8783. /HSBY/QueryMyPayOrders:
  8784. get:
  8785. parameters:
  8786. - description: 页码
  8787. in: query
  8788. name: page
  8789. type: integer
  8790. - description: 每页条数
  8791. in: query
  8792. name: pagesize
  8793. type: integer
  8794. - description: 资金账户列表,格式:1,2,3
  8795. in: query
  8796. name: accountIDs
  8797. required: true
  8798. type: string
  8799. - description: 买方委托单号
  8800. in: query
  8801. name: buyOrderID
  8802. type: integer
  8803. - description: 卖方委托单号
  8804. in: query
  8805. name: sellOrderID
  8806. type: integer
  8807. produces:
  8808. - application/json
  8809. responses:
  8810. "200":
  8811. description: OK
  8812. schema:
  8813. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  8814. "500":
  8815. description: Internal Server Error
  8816. schema:
  8817. $ref: '#/definitions/app.Response'
  8818. security:
  8819. - ApiKeyAuth: []
  8820. summary: 获取我的订单中待付款信息
  8821. tags:
  8822. - 定制【海商报业】
  8823. /HSBY/QueryMyUsedCoupon:
  8824. get:
  8825. parameters:
  8826. - description: 资金账户列表,格式:1,2,3
  8827. in: query
  8828. name: accountIDs
  8829. required: true
  8830. type: string
  8831. produces:
  8832. - application/json
  8833. responses:
  8834. "200":
  8835. description: OK
  8836. schema:
  8837. $ref: '#/definitions/models.MyUsedCoupon'
  8838. "500":
  8839. description: Internal Server Error
  8840. schema:
  8841. $ref: '#/definitions/app.Response'
  8842. security:
  8843. - ApiKeyAuth: []
  8844. summary: 已使用优惠卷查询
  8845. tags:
  8846. - 定制【海商报业】
  8847. /HSBY/QueryProvincesAndCities:
  8848. get:
  8849. description: 查询结果只包括二级市场商品已关连的省市信息。
  8850. parameters:
  8851. - description: 省ID
  8852. in: query
  8853. name: provinceID
  8854. type: integer
  8855. produces:
  8856. - application/json
  8857. responses:
  8858. "200":
  8859. description: OK
  8860. schema:
  8861. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  8862. "500":
  8863. description: Internal Server Error
  8864. schema:
  8865. $ref: '#/definitions/app.Response'
  8866. security:
  8867. - ApiKeyAuth: []
  8868. summary: 查询省市信息(不包括区)
  8869. tags:
  8870. - 定制【海商报业】
  8871. /HSBY/SetHsbyMyPackagesStatus:
  8872. post:
  8873. parameters:
  8874. - description: 提货单号
  8875. in: query
  8876. name: takeOrderID
  8877. required: true
  8878. type: string
  8879. - description: 资金账号
  8880. in: query
  8881. name: accountID
  8882. required: true
  8883. type: integer
  8884. produces:
  8885. - application/json
  8886. responses:
  8887. "200":
  8888. description: OK
  8889. schema:
  8890. $ref: '#/definitions/app.Response'
  8891. "500":
  8892. description: Internal Server Error
  8893. schema:
  8894. $ref: '#/definitions/app.Response'
  8895. security:
  8896. - ApiKeyAuth: []
  8897. summary: 设置我的包裹已收货状态
  8898. tags:
  8899. - 定制【海商报业】
  8900. /Market/QueryGoodsesByLoginID:
  8901. get:
  8902. parameters:
  8903. - description: 登录账号
  8904. in: query
  8905. name: loginID
  8906. required: true
  8907. type: integer
  8908. - description: 市场ID列表,格式:1,2,3
  8909. in: query
  8910. name: marketIDs
  8911. type: string
  8912. produces:
  8913. - application/json
  8914. responses:
  8915. "200":
  8916. description: OK
  8917. schema:
  8918. $ref: '#/definitions/models.Market'
  8919. "500":
  8920. description: Internal Server Error
  8921. schema:
  8922. $ref: '#/definitions/app.Response'
  8923. security:
  8924. - ApiKeyAuth: []
  8925. summary: 获取登录账号有权限的商品信息
  8926. tags:
  8927. - 通用市场
  8928. /Market/QueryMarketRun:
  8929. get:
  8930. parameters:
  8931. - description: 市场ID,不传返回所有
  8932. in: query
  8933. name: marketID
  8934. type: integer
  8935. produces:
  8936. - application/json
  8937. responses:
  8938. "200":
  8939. description: OK
  8940. schema:
  8941. $ref: '#/definitions/models.Marketrun'
  8942. "500":
  8943. description: Internal Server Error
  8944. schema:
  8945. $ref: '#/definitions/app.Response'
  8946. security:
  8947. - ApiKeyAuth: []
  8948. summary: 查询市场运行信息
  8949. tags:
  8950. - 通用市场
  8951. /Market/QueryMarketsByLoginID:
  8952. get:
  8953. parameters:
  8954. - description: 登录账号
  8955. in: query
  8956. name: loginID
  8957. required: true
  8958. type: integer
  8959. produces:
  8960. - application/json
  8961. responses:
  8962. "200":
  8963. description: OK
  8964. schema:
  8965. $ref: '#/definitions/models.Market'
  8966. "500":
  8967. description: Internal Server Error
  8968. schema:
  8969. $ref: '#/definitions/app.Response'
  8970. security:
  8971. - ApiKeyAuth: []
  8972. summary: 获取登录账号有权限的市场信息
  8973. tags:
  8974. - 通用市场
  8975. /Order/QueryHisTradeDetail:
  8976. get:
  8977. parameters:
  8978. - description: 资金账户 - 格式:1,2,3
  8979. in: query
  8980. name: accountID
  8981. required: true
  8982. type: string
  8983. - description: 成交单号
  8984. in: query
  8985. name: tradeID
  8986. type: integer
  8987. - description: 委托单号
  8988. in: query
  8989. name: orderID
  8990. type: integer
  8991. - description: 交易模式 - 格式:1,2,3
  8992. in: query
  8993. name: tradeMode
  8994. type: string
  8995. - description: 委托单据类型
  8996. in: query
  8997. name: buildType
  8998. type: integer
  8999. - description: 成交类别 - 格式:1,2,3
  9000. in: query
  9001. name: tradeType
  9002. type: string
  9003. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  9004. in: query
  9005. name: startDate
  9006. type: string
  9007. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  9008. in: query
  9009. name: endDate
  9010. type: string
  9011. produces:
  9012. - application/json
  9013. responses:
  9014. "200":
  9015. description: OK
  9016. schema:
  9017. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  9018. "500":
  9019. description: Internal Server Error
  9020. schema:
  9021. $ref: '#/definitions/app.Response'
  9022. security:
  9023. - ApiKeyAuth: []
  9024. summary: 历史成交单查询(合约市场)
  9025. tags:
  9026. - 通用单据
  9027. /Order/QueryHisTradeOrderDetail:
  9028. get:
  9029. parameters:
  9030. - description: 资金账户 - 格式:1,2,3
  9031. in: query
  9032. name: accountID
  9033. required: true
  9034. type: string
  9035. - description: 交易模式 - 格式:1,2,3
  9036. in: query
  9037. name: tradeMode
  9038. type: string
  9039. - description: 委托状态 - 格式:1,2,3
  9040. in: query
  9041. name: orderStatus
  9042. type: string
  9043. - description: 委托单号
  9044. in: query
  9045. name: orderID
  9046. type: integer
  9047. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  9048. in: query
  9049. name: startDate
  9050. type: string
  9051. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  9052. in: query
  9053. name: endDate
  9054. type: string
  9055. produces:
  9056. - application/json
  9057. responses:
  9058. "200":
  9059. description: OK
  9060. schema:
  9061. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  9062. "500":
  9063. description: Internal Server Error
  9064. schema:
  9065. $ref: '#/definitions/app.Response'
  9066. security:
  9067. - ApiKeyAuth: []
  9068. summary: 历史委托单查询请求(合约市场)
  9069. tags:
  9070. - 通用单据
  9071. /Order/QueryTradeDetail:
  9072. get:
  9073. parameters:
  9074. - description: 资金账户 - 格式:1,2,3
  9075. in: query
  9076. name: accountID
  9077. required: true
  9078. type: string
  9079. - description: 成交单号
  9080. in: query
  9081. name: tradeID
  9082. type: integer
  9083. - description: 委托单号
  9084. in: query
  9085. name: orderID
  9086. type: integer
  9087. - description: 交易模式 - 格式:1,2,3
  9088. in: query
  9089. name: tradeMode
  9090. type: string
  9091. - description: 委托单据类型
  9092. in: query
  9093. name: buildType
  9094. type: integer
  9095. - description: 成交类别 - 格式:1,2,3
  9096. in: query
  9097. name: tradeType
  9098. type: string
  9099. produces:
  9100. - application/json
  9101. responses:
  9102. "200":
  9103. description: OK
  9104. schema:
  9105. $ref: '#/definitions/order.QueryTradeDetailRsp'
  9106. "500":
  9107. description: Internal Server Error
  9108. schema:
  9109. $ref: '#/definitions/app.Response'
  9110. security:
  9111. - ApiKeyAuth: []
  9112. summary: 成交单查询(合约市场)
  9113. tags:
  9114. - 通用单据
  9115. /Order/QueryTradeOrderDetail:
  9116. get:
  9117. parameters:
  9118. - description: 资金账户 - 格式:1,2,3
  9119. in: query
  9120. name: accountID
  9121. required: true
  9122. type: string
  9123. - description: 交易模式 - 格式:1,2,3
  9124. in: query
  9125. name: tradeMode
  9126. type: string
  9127. - description: 委托状态 - 格式:1,2,3
  9128. in: query
  9129. name: orderStatus
  9130. type: string
  9131. - description: 委托单号
  9132. in: query
  9133. name: orderID
  9134. type: integer
  9135. produces:
  9136. - application/json
  9137. responses:
  9138. "200":
  9139. description: OK
  9140. schema:
  9141. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  9142. "500":
  9143. description: Internal Server Error
  9144. schema:
  9145. $ref: '#/definitions/app.Response'
  9146. security:
  9147. - ApiKeyAuth: []
  9148. summary: 委托单查询请求(合约市场)
  9149. tags:
  9150. - 通用单据
  9151. /Order/QueryTradePosition:
  9152. get:
  9153. parameters:
  9154. - description: 资金账户 - 格式:1,2,3
  9155. in: query
  9156. name: accountID
  9157. required: true
  9158. type: string
  9159. - description: 交易模式 - 格式:1,2,3
  9160. in: query
  9161. name: tradeMode
  9162. type: string
  9163. produces:
  9164. - application/json
  9165. responses:
  9166. "200":
  9167. description: OK
  9168. schema:
  9169. $ref: '#/definitions/order.QueryTradePositionRsp'
  9170. "500":
  9171. description: Internal Server Error
  9172. schema:
  9173. $ref: '#/definitions/app.Response'
  9174. security:
  9175. - ApiKeyAuth: []
  9176. summary: 持仓汇总查询(合约市场)
  9177. tags:
  9178. - 通用单据
  9179. /Quote/QueryHistoryDatas:
  9180. get:
  9181. parameters:
  9182. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  9183. 日线 10: Tik'
  9184. in: query
  9185. name: cycleType
  9186. required: true
  9187. type: integer
  9188. - description: 商品代码
  9189. in: query
  9190. name: goodsCode
  9191. required: true
  9192. type: string
  9193. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  9194. in: query
  9195. name: startTime
  9196. type: string
  9197. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  9198. in: query
  9199. name: endTime
  9200. type: string
  9201. - description: 条数
  9202. in: query
  9203. name: count
  9204. type: integer
  9205. - description: 是否按时间顺序排序(默认为时间倒序排序)
  9206. in: query
  9207. name: isAsc
  9208. type: boolean
  9209. produces:
  9210. - application/json
  9211. responses:
  9212. "200":
  9213. description: OK
  9214. schema:
  9215. $ref: '#/definitions/quote.HistoryData'
  9216. "500":
  9217. description: Internal Server Error
  9218. schema:
  9219. $ref: '#/definitions/app.Response'
  9220. security:
  9221. - ApiKeyAuth: []
  9222. summary: 查询行情历史数据
  9223. tags:
  9224. - 行情服务
  9225. /Quote/QueryTSData:
  9226. get:
  9227. parameters:
  9228. - description: 商品代码
  9229. in: query
  9230. name: GoodsCode
  9231. required: true
  9232. type: string
  9233. produces:
  9234. - application/json
  9235. responses:
  9236. "200":
  9237. description: OK
  9238. schema:
  9239. $ref: '#/definitions/quote.QueryTSDataRsp'
  9240. "500":
  9241. description: Internal Server Error
  9242. schema:
  9243. $ref: '#/definitions/app.Response'
  9244. summary: 分时图数据查询
  9245. tags:
  9246. - 行情服务
  9247. /SZDZ/QueryConvertConfig:
  9248. get:
  9249. parameters:
  9250. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  9251. 6:交易转花生米(不设置)
  9252. in: query
  9253. name: convertType
  9254. type: integer
  9255. - description: 外部商品代码[JD\PD]
  9256. in: query
  9257. name: outerGoodsCode
  9258. type: string
  9259. - description: 内部商品ID列表[交易],格式:1,2,3
  9260. in: query
  9261. name: innerGoodsIDs
  9262. type: string
  9263. produces:
  9264. - application/json
  9265. responses:
  9266. "200":
  9267. description: OK
  9268. schema:
  9269. $ref: '#/definitions/models.Szdz3convertconfig'
  9270. "500":
  9271. description: Internal Server Error
  9272. schema:
  9273. $ref: '#/definitions/app.Response'
  9274. security:
  9275. - ApiKeyAuth: []
  9276. summary: 查询交易系统转换设置
  9277. tags:
  9278. - 定制【尚志大宗】
  9279. /SZDZ/QueryConvertLog:
  9280. get:
  9281. parameters:
  9282. - description: 资金账户 - 格式:1,2,3
  9283. in: query
  9284. name: accountID
  9285. required: true
  9286. type: string
  9287. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  9288. in: query
  9289. name: startDate
  9290. type: string
  9291. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  9292. in: query
  9293. name: endDate
  9294. type: string
  9295. produces:
  9296. - application/json
  9297. responses:
  9298. "200":
  9299. description: OK
  9300. schema:
  9301. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  9302. "500":
  9303. description: Internal Server Error
  9304. schema:
  9305. $ref: '#/definitions/app.Response'
  9306. security:
  9307. - ApiKeyAuth: []
  9308. summary: 交易系统转换流水查询
  9309. tags:
  9310. - 定制【尚志大宗】
  9311. /SZDZ/QueryGoodsPickup:
  9312. get:
  9313. parameters:
  9314. - description: 资金账户 - 格式:1,2,3
  9315. in: query
  9316. name: accountID
  9317. required: true
  9318. type: string
  9319. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9320. in: query
  9321. name: takeOrderStatus
  9322. type: integer
  9323. produces:
  9324. - application/json
  9325. responses:
  9326. "200":
  9327. description: OK
  9328. schema:
  9329. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  9330. "500":
  9331. description: Internal Server Error
  9332. schema:
  9333. $ref: '#/definitions/app.Response'
  9334. security:
  9335. - ApiKeyAuth: []
  9336. summary: 商品提货单查询
  9337. tags:
  9338. - 定制【尚志大宗】
  9339. /SZDZ/QueryRecieptOrder:
  9340. get:
  9341. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  9342. parameters:
  9343. - description: 页码
  9344. in: query
  9345. name: page
  9346. type: integer
  9347. - description: 每页条数
  9348. in: query
  9349. name: pagesize
  9350. type: integer
  9351. - description: 商品ID
  9352. in: query
  9353. name: goodsID
  9354. required: true
  9355. type: integer
  9356. - description: 所属账户名称
  9357. in: query
  9358. name: accountName
  9359. type: string
  9360. - description: 市场ID
  9361. in: query
  9362. name: marketID
  9363. type: integer
  9364. - description: 方向 - 0:买 1:卖
  9365. in: query
  9366. name: buyorsell
  9367. required: true
  9368. type: integer
  9369. produces:
  9370. - application/json
  9371. responses:
  9372. "200":
  9373. description: OK
  9374. schema:
  9375. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  9376. "500":
  9377. description: Internal Server Error
  9378. schema:
  9379. $ref: '#/definitions/app.Response'
  9380. security:
  9381. - ApiKeyAuth: []
  9382. summary: 点选挂牌委托单据查询(摘牌大厅)
  9383. tags:
  9384. - 定制【尚志大宗】
  9385. /SZDZ/QuerySZDZTradePosition:
  9386. get:
  9387. parameters:
  9388. - description: 资金账户
  9389. in: query
  9390. name: accountID
  9391. required: true
  9392. type: integer
  9393. produces:
  9394. - application/json
  9395. responses:
  9396. "200":
  9397. description: OK
  9398. schema:
  9399. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  9400. "500":
  9401. description: Internal Server Error
  9402. schema:
  9403. $ref: '#/definitions/app.Response'
  9404. security:
  9405. - ApiKeyAuth: []
  9406. summary: 持仓汇总查询(尚志大宗)
  9407. tags:
  9408. - 定制【尚志大宗】
  9409. /SZDZ/SearchWhite:
  9410. get:
  9411. parameters:
  9412. - description: 用户ID
  9413. in: query
  9414. name: userID
  9415. required: true
  9416. type: integer
  9417. produces:
  9418. - application/json
  9419. responses:
  9420. "200":
  9421. description: OK
  9422. schema:
  9423. $ref: '#/definitions/models.Szdz3searchwhitelist'
  9424. "500":
  9425. description: Internal Server Error
  9426. schema:
  9427. $ref: '#/definitions/app.Response'
  9428. security:
  9429. - ApiKeyAuth: []
  9430. summary: 搜索白名单
  9431. tags:
  9432. - 定制【尚志大宗】
  9433. /Search/SearchGoodses:
  9434. get:
  9435. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  9436. parameters:
  9437. - description: 检索内容
  9438. in: query
  9439. name: content
  9440. required: true
  9441. type: string
  9442. - description: 交易模式,格式:1,2,3
  9443. in: query
  9444. name: tradeModes
  9445. type: string
  9446. produces:
  9447. - application/json
  9448. responses:
  9449. "200":
  9450. description: OK
  9451. schema:
  9452. $ref: '#/definitions/models.SearchGoods'
  9453. "500":
  9454. description: Internal Server Error
  9455. schema:
  9456. $ref: '#/definitions/app.Response'
  9457. summary: 检索商品信息
  9458. tags:
  9459. - 检索服务
  9460. /TaAccount/QueryAmountLog:
  9461. get:
  9462. parameters:
  9463. - description: 页码
  9464. in: query
  9465. name: page
  9466. type: integer
  9467. - description: 每页条数
  9468. in: query
  9469. name: pagesize
  9470. type: integer
  9471. - description: 资金账户 - 格式:1,2,3
  9472. in: query
  9473. name: accountID
  9474. required: true
  9475. type: string
  9476. - description: 资金操作类型 - 格式:1,2,3
  9477. in: query
  9478. name: OperateType
  9479. type: string
  9480. produces:
  9481. - application/json
  9482. responses:
  9483. "200":
  9484. description: OK
  9485. schema:
  9486. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  9487. "500":
  9488. description: Internal Server Error
  9489. schema:
  9490. $ref: '#/definitions/app.Response'
  9491. security:
  9492. - ApiKeyAuth: []
  9493. summary: 资金流水查询(当前)
  9494. tags:
  9495. - 资金账户
  9496. /TaAccount/QueryHisAmountLog:
  9497. get:
  9498. parameters:
  9499. - description: 页码
  9500. in: query
  9501. name: page
  9502. type: integer
  9503. - description: 每页条数
  9504. in: query
  9505. name: pagesize
  9506. type: integer
  9507. - description: 资金账户 - 格式:1,2,3
  9508. in: query
  9509. name: accountID
  9510. required: true
  9511. type: string
  9512. - description: 资金操作类型 - 格式:1,2,3
  9513. in: query
  9514. name: OperateType
  9515. type: string
  9516. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  9517. in: query
  9518. name: startDate
  9519. type: string
  9520. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  9521. in: query
  9522. name: endDate
  9523. type: string
  9524. produces:
  9525. - application/json
  9526. responses:
  9527. "200":
  9528. description: OK
  9529. schema:
  9530. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  9531. "500":
  9532. description: Internal Server Error
  9533. schema:
  9534. $ref: '#/definitions/app.Response'
  9535. security:
  9536. - ApiKeyAuth: []
  9537. summary: 资金流水查询(历史)
  9538. tags:
  9539. - 资金账户
  9540. /Trade/QueryRecieptOrder:
  9541. get:
  9542. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  9543. parameters:
  9544. - description: 页码
  9545. in: query
  9546. name: page
  9547. type: integer
  9548. - description: 每页条数
  9549. in: query
  9550. name: pagesize
  9551. type: integer
  9552. - description: 商品ID
  9553. in: query
  9554. name: goodsID
  9555. required: true
  9556. type: integer
  9557. - description: 所属账户名称
  9558. in: query
  9559. name: accountName
  9560. type: string
  9561. - description: 市场ID
  9562. in: query
  9563. name: marketID
  9564. type: integer
  9565. - description: 方向 - 0:买 1:卖
  9566. in: query
  9567. name: buyorsell
  9568. required: true
  9569. type: integer
  9570. produces:
  9571. - application/json
  9572. responses:
  9573. "200":
  9574. description: OK
  9575. schema:
  9576. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  9577. "500":
  9578. description: Internal Server Error
  9579. schema:
  9580. $ref: '#/definitions/app.Response'
  9581. security:
  9582. - ApiKeyAuth: []
  9583. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  9584. tags:
  9585. - 通用交易
  9586. /User/AddMessageBoard:
  9587. post:
  9588. parameters:
  9589. - description: 用户ID
  9590. in: query
  9591. name: userID
  9592. required: true
  9593. type: integer
  9594. - description: 留言信息
  9595. in: query
  9596. name: message
  9597. required: true
  9598. type: string
  9599. produces:
  9600. - application/json
  9601. responses:
  9602. "200":
  9603. description: OK
  9604. schema:
  9605. $ref: '#/definitions/app.Response'
  9606. "500":
  9607. description: Internal Server Error
  9608. schema:
  9609. $ref: '#/definitions/app.Response'
  9610. security:
  9611. - ApiKeyAuth: []
  9612. summary: 添加用户留言板信息
  9613. tags:
  9614. - 用户信息
  9615. /User/AddUserFavoriteGoods:
  9616. post:
  9617. parameters:
  9618. - description: 用户ID
  9619. in: query
  9620. name: userID
  9621. required: true
  9622. type: integer
  9623. - description: 商品ID
  9624. in: query
  9625. name: goodsID
  9626. required: true
  9627. type: integer
  9628. produces:
  9629. - application/json
  9630. responses:
  9631. "200":
  9632. description: OK
  9633. schema:
  9634. $ref: '#/definitions/app.Response'
  9635. "500":
  9636. description: Internal Server Error
  9637. schema:
  9638. $ref: '#/definitions/app.Response'
  9639. security:
  9640. - ApiKeyAuth: []
  9641. summary: 添加用户商品收藏信息
  9642. tags:
  9643. - 用户信息
  9644. /User/GetLoginID:
  9645. get:
  9646. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  9647. parameters:
  9648. - description: 登录代码
  9649. in: query
  9650. name: username
  9651. required: true
  9652. type: string
  9653. produces:
  9654. - application/json
  9655. responses:
  9656. "200":
  9657. description: OK
  9658. schema:
  9659. $ref: '#/definitions/app.Response'
  9660. "500":
  9661. description: Internal Server Error
  9662. schema:
  9663. $ref: '#/definitions/app.Response'
  9664. summary: 获取登录ID
  9665. tags:
  9666. - 用户信息
  9667. /User/GetUserAccount:
  9668. get:
  9669. parameters:
  9670. - description: 用户ID
  9671. in: query
  9672. name: userID
  9673. required: true
  9674. type: integer
  9675. produces:
  9676. - application/json
  9677. responses:
  9678. "200":
  9679. description: OK
  9680. schema:
  9681. $ref: '#/definitions/models.Useraccount'
  9682. "500":
  9683. description: Internal Server Error
  9684. schema:
  9685. $ref: '#/definitions/app.Response'
  9686. security:
  9687. - ApiKeyAuth: []
  9688. summary: 获取用户账号信息
  9689. tags:
  9690. - 用户信息
  9691. /User/GetUserAuthStatus:
  9692. get:
  9693. parameters:
  9694. - description: 用户ID
  9695. in: query
  9696. name: userID
  9697. required: true
  9698. type: integer
  9699. produces:
  9700. - application/json
  9701. responses:
  9702. "200":
  9703. description: OK
  9704. schema:
  9705. $ref: '#/definitions/app.Response'
  9706. "500":
  9707. description: Internal Server Error
  9708. schema:
  9709. $ref: '#/definitions/app.Response'
  9710. security:
  9711. - ApiKeyAuth: []
  9712. summary: 获取用户实名认证状态
  9713. tags:
  9714. - 用户信息
  9715. /User/QueryMessageBoard:
  9716. get:
  9717. parameters:
  9718. - description: 用户ID
  9719. in: query
  9720. name: userID
  9721. required: true
  9722. type: integer
  9723. produces:
  9724. - application/json
  9725. responses:
  9726. "200":
  9727. description: OK
  9728. schema:
  9729. $ref: '#/definitions/models.Messageboard'
  9730. "500":
  9731. description: Internal Server Error
  9732. schema:
  9733. $ref: '#/definitions/app.Response'
  9734. security:
  9735. - ApiKeyAuth: []
  9736. summary: 获取用户留言板信息
  9737. tags:
  9738. - 用户信息
  9739. /User/QueryUserFavoriteGoodses:
  9740. get:
  9741. parameters:
  9742. - description: 用户ID
  9743. in: query
  9744. name: userID
  9745. required: true
  9746. type: integer
  9747. produces:
  9748. - application/json
  9749. responses:
  9750. "200":
  9751. description: OK
  9752. schema:
  9753. $ref: '#/definitions/models.Userfavoritegoods'
  9754. "500":
  9755. description: Internal Server Error
  9756. schema:
  9757. $ref: '#/definitions/app.Response'
  9758. security:
  9759. - ApiKeyAuth: []
  9760. summary: 获取用户商品收藏信息
  9761. tags:
  9762. - 用户信息
  9763. /User/QueryUserInfo:
  9764. get:
  9765. parameters:
  9766. - description: 用户ID
  9767. in: query
  9768. name: userID
  9769. required: true
  9770. type: integer
  9771. produces:
  9772. - application/json
  9773. responses:
  9774. "200":
  9775. description: OK
  9776. schema:
  9777. $ref: '#/definitions/models.Userinfo'
  9778. "500":
  9779. description: Internal Server Error
  9780. schema:
  9781. $ref: '#/definitions/app.Response'
  9782. security:
  9783. - ApiKeyAuth: []
  9784. summary: 获取用户信息
  9785. tags:
  9786. - 用户信息
  9787. /User/QueryUserReferNum:
  9788. get:
  9789. parameters:
  9790. - description: 用户ID
  9791. in: query
  9792. name: userID
  9793. required: true
  9794. type: integer
  9795. produces:
  9796. - application/json
  9797. responses:
  9798. "200":
  9799. description: OK
  9800. schema:
  9801. $ref: '#/definitions/app.Response'
  9802. "500":
  9803. description: Internal Server Error
  9804. schema:
  9805. $ref: '#/definitions/app.Response'
  9806. summary: 获取用户邀请码
  9807. tags:
  9808. - 用户信息
  9809. /User/RemoveUserFavoriteGoods:
  9810. post:
  9811. parameters:
  9812. - description: 用户ID
  9813. in: query
  9814. name: userID
  9815. required: true
  9816. type: integer
  9817. - description: 商品ID
  9818. in: query
  9819. name: goodsID
  9820. required: true
  9821. type: integer
  9822. produces:
  9823. - application/json
  9824. responses:
  9825. "200":
  9826. description: OK
  9827. schema:
  9828. $ref: '#/definitions/app.Response'
  9829. "500":
  9830. description: Internal Server Error
  9831. schema:
  9832. $ref: '#/definitions/app.Response'
  9833. security:
  9834. - ApiKeyAuth: []
  9835. summary: 移除用户商品收藏信息
  9836. tags:
  9837. - 用户信息
  9838. /WR/GetWRCategoryInfo:
  9839. get:
  9840. produces:
  9841. - application/json
  9842. responses:
  9843. "200":
  9844. description: OK
  9845. schema:
  9846. $ref: '#/definitions/models.WRCategoryTree'
  9847. "500":
  9848. description: Internal Server Error
  9849. schema:
  9850. $ref: '#/definitions/app.Response'
  9851. summary: 获取现货分类信息
  9852. tags:
  9853. - 仓单服务
  9854. /WRTrade/GetAllDeliveryGoods:
  9855. get:
  9856. produces:
  9857. - application/json
  9858. - application/json
  9859. responses:
  9860. "200":
  9861. description: OK
  9862. schema:
  9863. $ref: '#/definitions/app.Response'
  9864. "500":
  9865. description: Internal Server Error
  9866. schema:
  9867. $ref: '#/definitions/app.Response'
  9868. security:
  9869. - ApiKeyAuth: []
  9870. - ApiKeyAuth: []
  9871. summary: 获取带仓单分类的种类信息
  9872. tags:
  9873. - 仓单贸易
  9874. - 仓单贸易
  9875. securityDefinitions:
  9876. ApiKeyAuth:
  9877. in: header
  9878. name: Authorization
  9879. type: apiKey
  9880. swagger: "2.0"