swagger.yaml 240 KB

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